Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] undefined method `to_key' in ActiveResource object

#4685

ActiveResource doesn't define to_key, making form_for break with AResource objects. This patch fixes this by including ActiveModel::Conversions in ActiveResource::Base.

Reported by Elomar França · May 25th, 2010 @ 04:18 AM

State: resolved
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Elomar França
    Elomar França
    • Title changed from undefined method `to_key' in ActiveResource object to [Patch] undefined method `to_key' in ActiveResource object

    May 25th, 2010 @ 08:18 PM

  2. José Valim
    José Valim
    • Milestone cleared.
    • Assigned user set to José Valim

    May 26th, 2010 @ 02:39 PM

  3. Repository
    Repository
    • State changed from new to resolved

    May 26th, 2010 @ 02:59 PM

  4. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM