This project is archived and is in readonly mode.

Changeset [d0cf212cb5a02db1b3df85e1a337ea1fc99d9b3b] 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...

Committed by José Valim

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

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>