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.

Changeset [d0cf212cb5a02db1b3df85e1a337ea1fc99d9b3b] by José Valim

Revision d0cf212cb5a02db1b3df85e1a337ea1fc99d9b3b, committed by José Valim · August 15th, 2010 @ 03:29 PM

to_key should return all exists keys (if any exists), regardless if the object is persisted or not. If you need it to reflect persistance, you should use to_param.
http://github.com/rails/rails/commit/d0cf212cb5a02db1b3df85e1a337ea...

2 changed files

  • M activemodel/lib/active_model/conversion.rb
  • M activemodel/lib/active_model/lint.rb