aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pirate.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-11-08 16:03:15 -0600
committerJoshua Peek <josh@joshpeek.com>2009-11-08 16:03:15 -0600
commitc10f4ae01d91d1afc90b21d4bba51e59ae9a0625 (patch)
tree67c0428c4a31452227bca75ba835a642bd01fd41 /activerecord/test/models/pirate.rb
parenta595abff211eee97d75c51c085cfdc821b1edb46 (diff)
parentf125a34501e21b1e0da2b80d149df7a739482804 (diff)
downloadrails-c10f4ae01d91d1afc90b21d4bba51e59ae9a0625.tar.gz
rails-c10f4ae01d91d1afc90b21d4bba51e59ae9a0625.tar.bz2
rails-c10f4ae01d91d1afc90b21d4bba51e59ae9a0625.zip
Merge remote branch 'Fingertips/master'
Diffstat (limited to 'activerecord/test/models/pirate.rb')
-rw-r--r--activerecord/test/models/pirate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/pirate.rb b/activerecord/test/models/pirate.rb
index 05c5b666ae..f2c05dd48f 100644
--- a/activerecord/test/models/pirate.rb
+++ b/activerecord/test/models/pirate.rb
@@ -18,7 +18,7 @@ class Pirate < ActiveRecord::Base
has_many :treasure_estimates, :through => :treasures, :source => :price_estimates
# These both have :autosave enabled because accepts_nested_attributes_for is used on them.
- has_one :ship, :validate => true
+ has_one :ship
has_one :non_validated_ship, :class_name => 'Ship'
has_many :birds
has_many :birds_with_method_callbacks, :class_name => "Bird",