diff options
author | Nick Meehan <nnmeehan@gmail.com> | 2014-08-28 10:40:58 -0600 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-10-04 17:08:32 -0700 |
commit | d882348ad25fc0364ad77cd587e76308fc0d286c (patch) | |
tree | adca94990da32b2a018ccc324f6a210ce0b1b0b6 /guides/source/kindle/layout.html.erb | |
parent | 8935e8996ec671d6f6dc5b28aab75e75f7d73e73 (diff) | |
download | rails-d882348ad25fc0364ad77cd587e76308fc0d286c.tar.gz rails-d882348ad25fc0364ad77cd587e76308fc0d286c.tar.bz2 rails-d882348ad25fc0364ad77cd587e76308fc0d286c.zip |
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
Diffstat (limited to 'guides/source/kindle/layout.html.erb')
0 files changed, 0 insertions, 0 deletions