Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change the deprecation messages to show the preferred way to work with | Rafael Mendonça França | 2015-02-20 | 1 | -4/+4 |
| | | | | ActiveModel::Errors | ||||
* | use `messages` instead of deprecated `ActiveModel::Errors#[]=` method [ci skip] | yuuji.yaginuma | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | Feature requests should be made on the mailing list, not submitted to | Zachary Scott | 2014-06-01 | 1 | -1/+6 |
| | | | | the issue tracker. See also #15455 [ci skip] | ||||
* | Name#model_name doesn't return a String object | ShunsukeAida | 2014-05-30 | 1 | -1/+1 |
| | |||||
* | Fix errors for four of the code samples | Peter Markou | 2014-03-08 | 1 | -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. Schuck | 2014-01-03 | 1 | -2/+2 |
| | |||||
* | align the result of expressions vertically [ci skip]. | Yves Senn | 2013-04-12 | 1 | -7/+7 |
| | |||||
* | clarify verbiage | Waynn Lue | 2013-03-12 | 1 | -1/+1 |
| | |||||
* | ActiveRecord <-> Active Record [ci skip] | Trung Lê | 2013-01-15 | 1 | -2/+2 |
| | |||||
* | Observers was extracted from Active Model as `rails-observers` gem | Akira Matsuda | 2013-01-02 | 1 | -18/+0 |
| | |||||
* | include serializers in ActiveModel::Serialization example | Hrvoje Šimić | 2012-10-19 | 1 | -0/+12 |
| | |||||
* | better examples in ActiveModel readme | Hrvoje Šimić | 2012-10-19 | 1 | -1/+15 |
| | |||||
* | Use a 1.9 Hash syntax in README files (fixes thanks to @vijaydev) | Robin Dupret | 2012-10-10 | 1 | -1/+1 |
| | |||||
* | updating define_attribute_methods documentation | Francesco Rodriguez | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Revert "fixing active model links in readme" | Vijay Dev | 2012-05-07 | 1 | -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 readme | Francesco Rodriguez | 2012-05-07 | 1 | -3/+3 |
| | |||||
* | fixing marked actived model classes in readme | Francesco Rodriguez | 2012-05-07 | 1 | -3/+3 |
| | |||||
* | marking some active model classes | Francesco Rodriguez | 2012-05-07 | 1 | -3/+3 |
| | |||||
* | fixing active model links in readme | Francesco Rodriguez | 2012-05-07 | 1 | -10/+10 |
| | |||||
* | adding observer example | Francesco Rodriguez | 2012-05-07 | 1 | -0/+10 |
| | |||||
* | Fix ActiveModel README example | Alexey Vakhov | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Fixed expected value in comment. Removed duplicate lines in example. | Bernard Kroes | 2012-04-21 | 1 | -4/+1 |
| | |||||
* | fix bad format [ci skip] | Vijay Dev | 2012-04-11 | 1 | -1/+1 |
| | |||||
* | Fix small markup error; fix incorrect link | Jonathan Mazin | 2012-04-09 | 1 | -2/+2 |
| | |||||
* | minor corrections in AMo::Model docs [ci skip] | Vijay Dev | 2012-03-05 | 1 | -2/+2 |
| | |||||
* | Add docs with usage examples for ActiveModel::Model | Carlos Antonio da Silva | 2012-03-03 | 1 | -0/+19 |
| | | | | | Also add test to ensure basic model does not explode when initialized with nil. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-09 | 1 | -4/+3 |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb | ||||
| * | Fixes in AMo README | Carlos Antonio da Silva | 2012-02-07 | 1 | -5/+4 |
| | | |||||
* | | Update README to mention lint. | José Valim | 2012-02-07 | 1 | -4/+6 |
|/ | |||||
* | Finished implementation of MIT license linking. | Kristian Freeman | 2011-12-23 | 1 | -1/+3 |
| | |||||
* | capitalize RubyGems properl | Waynn Lue | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | The trailing '/' isn't being picked up by Github anyway, and the link works ↵ | Rashmi Yadav | 2011-08-13 | 1 | -1/+1 |
| | | | | as is. | ||||
* | fixed type | Vishnu Atrai | 2011-07-21 | 1 | -1/+1 |
| | |||||
* | Download and installation, License and Support sections added for activemodel | Bratish Goswami | 2011-07-21 | 1 | -0/+27 |
| | |||||
* | Active Model typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 1 | -1/+1 |
| | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | minor fixesin READMEs | Vijay Dev | 2010-12-20 | 1 | -3/+3 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -27/+27 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | applied guidelines to "# =>" | Paco Guzman | 2010-08-12 | 1 | -7/+7 |
| | |||||
* | improve Active Model README | Mislav Marohnić | 2010-07-22 | 1 | -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é Valim | 2010-07-21 | 1 | -0/+206 |