aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/contact.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
|
* Remove XML Serialization from core.Zachary Scott2015-08-071-1/+0
| | | | | | | This includes the following classes: - ActiveModel::Serializers::Xml - ActiveRecord::Serialization::XmlSerializer
* Move model definition to test/models for test order indenendencyAkira Matsuda2014-08-281-0/+15
|
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-1/+1
| | | | | I also attempted to fix other styleguide violations such as { a: :b } over {a: :b} and foo(b: 'bar') over foo( b: 'bar' ).
* fix failing isolated testsFrancesco Rodriguez2012-10-261-0/+1
|
* AM::Serializers::Xml depends on AM::NamingFrancesco Rodriguez2012-10-261-1/+0
|
* Methods that return nil should not be considered YAMLJoshua Wehner2011-05-101-0/+4
|
* Reuse already existing classes for ActiveModel tests.José Valim2010-07-211-0/+1
|
* test cases for record.to_xml [#458 state:resolved]Neeraj Singh2010-04-301-0/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix AMo isolated tests.José Valim2010-02-221-1/+1
|
* Require persisted? in ActiveModel::Lint and remove new_record? and ↵José Valim2010-02-211-3/+3
| | | | destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
* Add to_key and to_param methods to ActiveModel::Conversion.José Valim2010-02-211-1/+7
|
* Dasherize XML root by default to avoid invalid tags ↵Joshua Peek2009-07-221-0/+4
| | | | "<admin/posts>...</admin/posts>" [#2875 state:resolved]
* Initial extraction of AMo xml serializerJoshua Peek2009-07-031-0/+3