Commit Graph

16 Commits

Author SHA1 Message Date
Rafael Mendonça França 41fb06fa47 Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.
These methods may cause confusion with the `reset_changes` that
behaves differently
of them.

Also rename undo_changes to restore_changes to match this new set of
methods.
2014-07-15 18:09:38 -03:00
Aditya Kapoor 8c8e5be9c9 [ci skip] add guide for ActiveModel::Naming 2014-07-05 22:14:03 +05:30
Rafael Mendonça França 9aa1a3d853 Merge pull request #10816 from bogdan/less-dirty-dirty
Make AM::Dirty less dirty to plugin into AR or other library
2013-09-23 10:59:05 -03:00
Akshay Khole 92a9ffd858 Changing the wordings in a few places 2013-05-04 15:53:18 +05:30
Akshay Khole 7ce8035252 comments in the callbacks description are in present tense 2013-05-04 15:14:58 +05:30
Carlos Antonio da Silva 129eac0243 Fix Active Record validation error messages markup in guides
The other way it was not marking the text as italic, it was showing the
underlines as normal text.

Also fixes some code examples indentation and # => marks in Active Model
and Active Record guides.

[ci skip]
2012-12-04 21:05:44 -02:00
Carlos Antonio da Silva 7f395600ce Improve the Active Model guide [ci skip] 2012-12-04 19:22:38 -02:00
Ershad K 638957151a Fixing a couple of spelling mistakes 2012-12-04 23:57:42 +05:30
Steve Klabnik d16a1b9e8b Normalize on 'After reading this guide, you will know:'
We have three or four different introduction sentences to the guides.
After this commit, we use the same one everywhere.
2012-11-29 14:25:02 -08:00
Steve Klabnik 5ea8a41cdd Remove 'This guide is based on ' warnings.
It's obvious that the guide is based on this version of Rails, and may not be backwards compatible.
2012-11-29 05:21:30 -08:00
Steve Klabnik 27138386ad ActiveRecord -> Active Record
The proper name, as per the documentation guides, is 'Active Record.' I've
updated several references to it as 'ActiveRecord'.
2012-11-29 04:35:13 -08:00
Agis Anastasopoulos ba280c6ea1 Switch to 1.9 hash syntax 2012-11-15 23:09:28 +02:00
Prem Sichanugrist 721afdcc4b Fix remaining formatting problems in the guide 2012-09-17 15:54:23 -04:00
Prem Sichanugrist 872b7af337 Convert heading tags and heading section 2012-09-17 15:54:22 -04:00
Prem Sichanugrist 7bc1ca3515 Convert code blocks into GFM style 2012-09-17 15:54:22 -04:00
Prem Sichanugrist 5137d03cc5 Rename the rest of the guides to Markdown 2012-09-17 15:54:22 -04:00