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 [f224c66a91ad093c6e80ff52b22aa2c7f5f3ce9a] by José Valim

Revision f224c66a91ad093c6e80ff52b22aa2c7f5f3ce9a, committed by José Valim · August 15th, 2010 @ 03:30 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/f224c66a91ad093c6e80ff52b22aa2...

2 changed files

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