Kir Shatrov
|
d7b1521db8
|
Use frozen string literal in activemodel/
|
2017-07-16 20:11:16 +03:00 |
|
Matthew Draper
|
87b3e226d6
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590 , reversing
changes made to afb66a5a59 .
|
2017-07-02 02:15:17 +09:30 |
|
Kir Shatrov
|
cfade1ec7e
|
Enforce frozen string in Rubocop
|
2017-07-01 02:11:03 +03:00 |
|
Zachary Scott
|
f7ebdb1ac5
|
Remove XML Serialization from core.
This includes the following classes:
- ActiveModel::Serializers::Xml
- ActiveRecord::Serialization::XmlSerializer
|
2015-08-07 11:01:48 -04:00 |
|
Akira Matsuda
|
b23365fe5c
|
Move model definition to test/models for test order indenendency
|
2014-08-28 16:56:53 +09:00 |
|
Patrick Robertson
|
eebb9ddf9b
|
Convert ActiveModel to 1.9 hash syntax.
I also attempted to fix other styleguide violations such as
{ a: :b } over {a: :b} and foo(b: 'bar') over foo( b: 'bar' ).
|
2013-05-01 18:01:46 -07:00 |
|
Francesco Rodriguez
|
df2b60cd41
|
fix failing isolated tests
|
2012-10-26 23:03:36 -05:00 |
|
Francesco Rodriguez
|
070329596f
|
AM::Serializers::Xml depends on AM::Naming
|
2012-10-26 21:45:40 -05:00 |
|
Joshua Wehner
|
2cef2d411a
|
Methods that return nil should not be considered YAML
|
2011-05-10 12:06:09 -04:00 |
|
José Valim
|
53310614d7
|
Reuse already existing classes for ActiveModel tests.
|
2010-07-21 13:00:56 +02:00 |
|
Neeraj Singh
|
883f27aa9a
|
test cases for record.to_xml [#458 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-04-30 13:19:30 +02:00 |
|
José Valim
|
6fa2bbfd10
|
Fix AMo isolated tests.
|
2010-02-22 08:45:41 +01:00 |
|
José Valim
|
250c809246
|
Require persisted? in ActiveModel::Lint and remove new_record? and 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.
|
2010-02-21 11:12:14 +01:00 |
|
José Valim
|
9dd67fce25
|
Add to_key and to_param methods to ActiveModel::Conversion.
|
2010-02-21 09:08:59 +01:00 |
|
Joshua Peek
|
272c504f91
|
Dasherize XML root by default to avoid invalid tags "<admin/posts>...</admin/posts>" [#2875 state:resolved]
|
2009-07-22 21:06:34 -05:00 |
|
Joshua Peek
|
d2b78b3594
|
Initial extraction of AMo xml serializer
|
2009-07-03 21:38:14 -05:00 |
|