aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/README.rdoc
Commit message (Collapse)AuthorAgeFilesLines
* Change the deprecation messages to show the preferred way to work withRafael Mendonça França2015-02-201-4/+4
| | | | ActiveModel::Errors
* use `messages` instead of deprecated `ActiveModel::Errors#[]=` method [ci skip]yuuji.yaginuma2015-02-201-1/+1
|
* Feature requests should be made on the mailing list, not submitted toZachary Scott2014-06-011-1/+6
| | | | the issue tracker. See also #15455 [ci skip]
* Name#model_name doesn't return a String objectShunsukeAida2014-05-301-1/+1
|
* Fix errors for four of the code samplesPeter Markou2014-03-081-30/+49
| | | | | | | | | | | | | | | | | | | | | | | | The four code samples that fail to run are: - Add attribute magic to objects. Fixed by introducing a Person instance variable. - Tracking value changes. Fixed by replacing `attr_accessor` with `define_attribute_methods`, providing getter and setter methods for `name` and providing the missing `Person#save` method. A call to `Person#save` has to precede the `person.name = 'robert'` assignment, if we want `previous_changes` to include 'bob'. - Adding `errors` interface to objects. Fixed by introducing a Person instance variable, assigning `nil` to its name and calling `Person#validate!`. - Custom validators. Fixed by defining `HasNameValidator` before it is used by `ValidatorPerson`. All the code samples can now be run smoothly. Call Dirty#changes_applied in Person#save, instead of modifying instance vars.
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-2/+2
|
* align the result of expressions vertically [ci skip].Yves Senn2013-04-121-7/+7
|
* clarify verbiageWaynn Lue2013-03-121-1/+1
|
* ActiveRecord <-> Active Record [ci skip]Trung Lê2013-01-151-2/+2
|
* Observers was extracted from Active Model as `rails-observers` gemAkira Matsuda2013-01-021-18/+0
|
* include serializers in ActiveModel::Serialization exampleHrvoje Šimić2012-10-191-0/+12
|
* better examples in ActiveModel readmeHrvoje Šimić2012-10-191-1/+15
|
* Use a 1.9 Hash syntax in README files (fixes thanks to @vijaydev)Robin Dupret2012-10-101-1/+1
|
* updating define_attribute_methods documentationFrancesco Rodriguez2012-05-141-1/+1
|
* Revert "fixing active model links in readme"Vijay Dev2012-05-071-10/+10
| | | | | | | This reverts commit c962680e1902d2c9474f0be8ba7b0b8ab361cae6. Reason: The links must be relative to work in both edge and stable api sites.
* removing the surrounding +s in active model readmeFrancesco Rodriguez2012-05-071-3/+3
|
* fixing marked actived model classes in readmeFrancesco Rodriguez2012-05-071-3/+3
|
* marking some active model classesFrancesco Rodriguez2012-05-071-3/+3
|
* fixing active model links in readmeFrancesco Rodriguez2012-05-071-10/+10
|
* adding observer exampleFrancesco Rodriguez2012-05-071-0/+10
|
* Fix ActiveModel README exampleAlexey Vakhov2012-05-041-1/+1
|
* Fixed expected value in comment. Removed duplicate lines in example.Bernard Kroes2012-04-211-4/+1
|
* fix bad format [ci skip]Vijay Dev2012-04-111-1/+1
|
* Fix small markup error; fix incorrect linkJonathan Mazin2012-04-091-2/+2
|
* minor corrections in AMo::Model docs [ci skip]Vijay Dev2012-03-051-2/+2
|
* Add docs with usage examples for ActiveModel::ModelCarlos Antonio da Silva2012-03-031-0/+19
| | | | | Also add test to ensure basic model does not explode when initialized with nil.
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-091-4/+3
|\ | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb
| * Fixes in AMo READMECarlos Antonio da Silva2012-02-071-5/+4
| |
* | Update README to mention lint.José Valim2012-02-071-4/+6
|/
* Finished implementation of MIT license linking.Kristian Freeman2011-12-231-1/+3
|
* capitalize RubyGems properlWaynn Lue2011-08-131-1/+1
|
* The trailing '/' isn't being picked up by Github anyway, and the link works ↵Rashmi Yadav2011-08-131-1/+1
| | | | as is.
* fixed typeVishnu Atrai2011-07-211-1/+1
|
* Download and installation, License and Support sections added for activemodelBratish Goswami2011-07-211-0/+27
|
* Active Model typos.R.T. Lechow2011-03-051-1/+1
|
* Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-311-1/+1
| | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* minor fixesin READMEsVijay Dev2010-12-201-3/+3
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-27/+27
| | | | 's/[ \t]*$//' -i {} \;)
* applied guidelines to "# =>"Paco Guzman2010-08-121-7/+7
|
* improve Active Model READMEMislav Marohnić2010-07-221-73/+51
| | | | | | | - fix indentation problems - revised introductory text to state right away what the library is - improved examples: reduce heavy usage of ellipsis, don't mark paragraphs of text as code
* Add .rdoc extension to README files.José Valim2010-07-211-0/+206