1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/support
Sean Griffin 4e7217027f Add YAML compatibility for objects from Rails 4.2
As of Ruby 2.2, Psych can handle any object which is marshallable. This
was not true on previous versions of Ruby, so our delegator types had to
provide their own implementation of `init_with` and `encode_with`.
Unfortunately, this doesn't match up with what Psych will do today.

Since by the time we hit this layer, the objects will have already been
created, I think it makes the most sense to just grab the current type
from the class.
2015-03-10 11:56:45 -06:00
..
yaml_compatibility_fixtures Add YAML compatibility for objects from Rails 4.2 2015-03-10 11:56:45 -06:00
config.rb
connection.rb
connection_helper.rb
ddl_helper.rb fk: :primary_key option for non-standard pk's. 2014-06-26 22:03:48 +02:00
schema_dumping_helper.rb Reset ActiveRecord::SchemaDumper.ignore_tables value after changed in tests 2014-09-03 11:30:36 +09:00