aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/conversion.rb
Commit message (Collapse)AuthorAgeFilesLines
* to_key should return all exists keys (if any exists), regardless if the ↵José Valim2010-08-151-3/+6
| | | | object is persisted or not. If you need it to reflect persistance, you should use to_param.
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-6/+6
| | | | 's/[ \t]*$//' -i {} \;)
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-301-3/+3
|
* Minor changes to callbacks and conversion API docs.Rizwan Reza2010-06-141-7/+11
|
* Fix spelling error in ActiveModel::Conversion docs. [#4826 state:resolved]Pavel Gorbokon2010-06-111-1/+1
|
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-211-6/+6
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-211-10/+35
|
* Merge docrailsPratik Naik2010-01-171-1/+12
|
* AMo conversion helperJoshua Peek2009-07-211-0/+8