1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Prathamesh Sonpatki
391f5dc176 Fix typo in Active Model guide
- instrospection -> introspection.
- [ci skip]
2014-10-05 18:28:42 +05:30
Zachary Scott
b56d3adf9b [ci skip] Merge ActiveModel::SecurePassword guide from @aditya-kapoor
Merge branch 'active-model-secure-password-guide' of https://github.com/aditya-kapoor/rails into aditya-kapoor-active-model-secure-password-guide

Conflicts:
	guides/source/active_model_basics.md
2014-10-04 17:21:36 -07:00
Nick Meehan
d882348ad2 Edits to ActiveModel guide [ci skip]
- Some grammatical errors and rewording of sentences throughout document

- Renaming headers to be more human readable, and if following paragraphs do not include module
  names, adding those in

- In ActiveModel::AttributeMethods
  * formatting expected output correctly, changing from `#` to `# =>`

- In ActiveModel::Dirty
  * changing expected output of person.first_name_was from "First Name" to nil
  * removing 'active_model' requirement at top of code snippet

- In ActiveModel::Validations
  * originally Person.new(token: "2b1f325") raises an argument error (1 for 0), so setting of
    attribute occurs on the line after object instantiation

- In ActiveModel::Naming
  * closing code snippet tag at end of section so ActiveModel::Model is a separate section

- In ActiveModel::Model
  * fixing spelling mistake of attr_accessor

- In ActiveModel::Serialization
  * adding edit to description of how from_json and from_xml works under serialization

- In ActiveModel::Lint::Tests
  * capitalizing person for class name
2014-10-04 17:08:32 -07:00
Mauro George
8935e8996e Add Active Model to guides [ci skip] 2014-10-04 17:08:14 -07:00
Aditya Kapoor
1df925d3ea [ci skip] add guide for ActiveModel::SecurePassword 2014-08-11 17:51:20 +05:30
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
Renamed from guides/source/active_model_basics.textile (Browse further)