aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/conversion.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix comments about to_partial_pathGrant Hutchins2012-03-101-2/+2
|
* Revert "Revert "More 1.9 way""Santiago Pastorino2012-01-061-4/+2
| | | | | Fixed failing tests This reverts commit 8350ce97f2065eed9638c595d3938a573d6fa343.
* Revert "More 1.9 way"Aaron Patterson2012-01-051-2/+4
| | | | This reverts commit 675094b2757cf90399dadca4489b1036810ae570.
* More 1.9 waySantiago Pastorino2012-01-051-4/+2
|
* Rename new method to_path to to_partial_path to avoid conflicts with ↵José Valim2011-08-011-5/+5
| | | | File#to_path and similar.
* Rename class method to_path to _to_path and make it explicit that it is an ↵José Valim2011-07-281-3/+5
| | | | internal method.
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-2/+24
| | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* Improve doc styles for ActiveModel::ConversionSebastian Martinez2011-05-041-4/+4
|
* Remove Example headers. Code just flows with the text. 6ce844a3Paco Guzman2011-03-061-2/+0
|
* 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