This project is archived and is in readonly mode.
[Patch] undefined method `to_key' in ActiveResource object
Reported by Elomar França | May 25th, 2010 @ 04:18 AM | in 3.0.2
ActiveResource doesn't define to_key, making form_for break with AResource objects. This patch fixes this by including ActiveModel::Conversions in ActiveResource::Base.
Comments and changes to this ticket
-
Elomar França May 25th, 2010 @ 08:18 PM
- Title changed from undefined method `to_key' in ActiveResource object to [Patch] undefined method `to_key' in ActiveResource object
-
José Valim May 26th, 2010 @ 02:39 PM
- Milestone cleared.
- Assigned user set to José Valim
-
Repository May 26th, 2010 @ 02:59 PM
- State changed from new to resolved
(from [7bd30b9585ec709cb56d26a54182e438bae00a08]) Adding to_key to ActiveResource objects using ActiveModel::Conversion [#4685 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/7bd30b9585ec709cb56d26a54182e4... -
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 4685 [Patch] undefined method `to_key' in ActiveResource object (from [7bd30b9585ec709cb56d26a54182e438bae00a08]) Adding ...