This project is archived and is in readonly mode.

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

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>