aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/model.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Add Action View to Active Model API documentationGabi Stefanini2016-12-061-1/+1
| | | | | | | | | In Rails 4.1, Action View was extracted from Action Pack, but this change was not reflected in the API documentation of ActiveModel::Model. This commits makes it explicit in the documentation that Active Model also interacts with Action View as well as Action Pack. [ci skip]
* Fixes API wording to match API conventionsGabi Stefanini2016-12-061-2/+2
| | | | | | | | | In ActiveModel::Model API documentation, referrences to Rails components were tagged with fixed-width font and named as if they were modules.This fixes the inconsistency to match API documentation conventions. [ci skip]
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
|
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
|
* use attribute assignment module logic during active model initializationEugene Gilburg2015-01-231-4/+3
|
* Use ActiveSupport::Concern instead of the traditinal wayYukio Mizuta2014-08-251-7/+7
|
* [ci skip] Clarify ActiveModel::Model docsdeeeki2014-06-141-3/+3
| | | | ActiveModel attributes initialized with String return String values
* Adding missing backslashes in active_model files so as to avoid unwanted ↵aditya-kapoor2013-12-271-1/+1
| | | | links in rdoc [ci skip]
* ActiveModel::Model inclusion chain backward compatibilityFred Wu2013-06-201-1/+1
|
* Fixes AciveModel::Model with no ancestors, fixes #11004Fred Wu2013-06-191-1/+1
| | | | Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
* Fixed ActiveModel::Model's inclusion chainFred Wu2013-06-191-0/+2
|
* minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-301-16/+37
|\ | | | | | | | | Conflicts: activemodel/lib/active_model/errors.rb
| * update ActiveModel::Model documentation [ci skip]Francesco Rodriguez2012-06-231-16/+37
| |
* | add :nodoc: to internal implementations [ci skip]Francesco Rodriguez2012-06-221-1/+1
|/
* fix bad format [ci skip]Michael de Silva2012-04-141-7/+7
|
* Improve example in initializerOscar Del Ben2012-04-141-1/+1
|
* minor corrections in AMo::Model docs [ci skip]Vijay Dev2012-03-051-3/+3
|
* Use public_send instead of send in ActiveModel::Model initializeGuillermo Iguaran2012-03-031-1/+1
|
* Add docs with usage examples for ActiveModel::ModelCarlos Antonio da Silva2012-03-031-1/+55
| | | | | Also add test to ensure basic model does not explode when initialized with nil.
* Add ActiveModel::Model, a mixin to make Ruby objects to work with AP inmediatlyGuillermo Iguaran2012-03-021-0/+22