aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_model_basics.md
Commit message (Collapse)AuthorAgeFilesLines
* Refer to rails command instead of rake in a bunch of placesDavid Heinemeier Hansson2015-12-181-1/+1
| | | | Still more to do. Please assist!
* Update docs/comments to use setup/teardown blocks vs. methods.Ken Collins2015-11-031-3/+3
| | | | As discussed in the minitest-spec-rails issue (http://git.io/vlHxx) Rails uses setup/teardown callbacks. Defining `setup` or `teardown` methods vs. blocks will yield inconsistent behavior in the callback chain.
* [ci skip] Improve readability in active model basics guideTim Wade2015-10-181-7/+7
| | | | | * adds/removes a few words * removes an unnecessary comma
* add a description of the return value that was missing [ci skip]yuuji.yaginuma2015-09-031-1/+1
|
* [ci skip] Modify introduction text and bullets to be consistent with other ↵Brooks Reese2015-08-101-5/+5
| | | | guides
* Remove XML Serialization from core.Zachary Scott2015-08-071-59/+2
| | | | | | | This includes the following classes: - ActiveModel::Serializers::Xml - ActiveRecord::Serialization::XmlSerializer
* Merge pull request #18503 from vipulnsward/guides-in-onXavier Noria2015-01-141-1/+1
|\ | | | | Changed `IN` to `ON` in markdown renderer condition
| * - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | | | | | - Changed `IN` to `ON` in all note sentences in guides.
* | Change 'a' to 'an' for 'XML' word [ci skip]Santosh Wadghule2015-01-121-2/+2
|/
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Fix typo in Active Model guidePrathamesh Sonpatki2014-10-051-2/+2
| | | | | - instrospection -> introspection. - [ci skip]
* [ci skip] Merge ActiveModel::SecurePassword guide from @aditya-kapoorZachary Scott2014-10-041-0/+46
|\ | | | | | | | | | | | | 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
| * [ci skip] add guide for ActiveModel::SecurePasswordAditya Kapoor2014-08-111-0/+46
| |
* | Edits to ActiveModel guide [ci skip]Nick Meehan2014-10-041-36/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Add Active Model to guides [ci skip]Mauro George2014-10-041-14/+297
| |
* | Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`.Rafael Mendonça França2014-07-151-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | [ci skip] add guide for ActiveModel::NamingAditya Kapoor2014-07-051-0/+23
|/
* Merge pull request #10816 from bogdan/less-dirty-dirtyRafael Mendonça França2013-09-231-1/+1
| | | | Make AM::Dirty less dirty to plugin into AR or other library
* Changing the wordings in a few placesAkshay Khole2013-05-041-2/+2
|
* comments in the callbacks description are in present tenseAkshay Khole2013-05-041-3/+3
|
* Fix Active Record validation error messages markup in guidesCarlos Antonio da Silva2012-12-041-18/+18
| | | | | | | | | | 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]
* Improve the Active Model guide [ci skip]Carlos Antonio da Silva2012-12-041-33/+27
|
* Fixing a couple of spelling mistakesErshad K2012-12-041-1/+1
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-0/+2
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Remove 'This guide is based on ' warnings.Steve Klabnik2012-11-291-2/+0
| | | | It's obvious that the guide is based on this version of Rails, and may not be backwards compatible.
* ActiveRecord -> Active RecordSteve Klabnik2012-11-291-1/+1
| | | | | The proper name, as per the documentation guides, is 'Active Record.' I've updated several references to it as 'ActiveRecord'.
* Switch to 1.9 hash syntaxAgis Anastasopoulos2012-11-151-4/+4
|
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-1/+1
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-10/+12
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-18/+18
|
* Rename the rest of the guides to MarkdownPrem Sichanugrist2012-09-171-0/+204