diff options
author | Lawrence Pit <lawrence.pit@gmail.com> | 2010-04-30 10:39:52 +1000 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-04-30 14:22:57 +0200 |
commit | 60504e62c8e2f5e137a0ac82aed67a6c0fe42447 (patch) | |
tree | 2aad838d8b81c73c7b3c47d39310a6f4b8aead41 /activerecord/test/models | |
parent | a003a39bac204b6b2d6425fa3c10891a0cf0149a (diff) | |
download | rails-60504e62c8e2f5e137a0ac82aed67a6c0fe42447.tar.gz rails-60504e62c8e2f5e137a0ac82aed67a6c0fe42447.tar.bz2 rails-60504e62c8e2f5e137a0ac82aed67a6c0fe42447.zip |
to_xml with :include should skip_instruct on the included records [#4506 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/contact.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/models/contact.rb b/activerecord/test/models/contact.rb index dbfa57bf49..975a885331 100644 --- a/activerecord/test/models/contact.rb +++ b/activerecord/test/models/contact.rb @@ -13,4 +13,6 @@ class Contact < ActiveRecord::Base column :preferences, :string serialize :preferences -end
\ No newline at end of file + + belongs_to :alternative, :class_name => 'Contact' +end |