Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix comments about to_partial_path | Grant Hutchins | 2012-03-10 | 1 | -1/+1 |
| | |||||
* | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 1 | -3/+3 |
| | | | | File#to_path and similar. | ||||
* | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 1 | -1/+8 |
| | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. | ||||
* | Require persisted? in ActiveModel::Lint and remove new_record? and ↵ | José Valim | 2010-02-21 | 1 | -2/+2 |
| | | | | 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é Valim | 2010-02-21 | 1 | -0/+25 |