aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/conversion_test.rb
Commit message (Expand)AuthorAgeFilesLines
* [ci skip] add tests for ActionModel::ConversionAditya Kapoor2014-06-111-0/+4
* `#to_param` returns `nil` if `to_key` returns `nil`. Closes #11399.Yves Senn2014-02-041-0/+10
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-2/+2
* test for ActiveModel::Conversion#to_partial_path and namespaced modelsYves Senn2013-01-141-0/+4
* Fix comments about to_partial_pathGrant Hutchins2012-03-101-1/+1
* Rename new method to_path to to_partial_path to avoid conflicts with File#to_...José Valim2011-08-011-3/+3
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-1/+8
* Require persisted? in ActiveModel::Lint and remove new_record? and destroyed?...José Valim2010-02-211-2/+2
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-211-0/+25