diff options
author | Chris Griego <cgriego@gmail.com> | 2014-07-16 15:46:08 -0500 |
---|---|---|
committer | Chris Griego <cgriego@gmail.com> | 2014-07-16 15:46:08 -0500 |
commit | bdd4d9f20c39951772f2c8a65442f3bf70217803 (patch) | |
tree | c658f07dab7171150512f02371287047f58528b3 /activerecord | |
parent | 0a5be1da2f9e3ce7e8c5d922c3685928e6ce224f (diff) | |
download | rails-bdd4d9f20c39951772f2c8a65442f3bf70217803.tar.gz rails-bdd4d9f20c39951772f2c8a65442f3bf70217803.tar.bz2 rails-bdd4d9f20c39951772f2c8a65442f3bf70217803.zip |
Remove unused 1:1 association :remote option
This option is unused, left over from pre-1.0 Rails to internally distinguish the location of the foreign key.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/builder/singular_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/builder/singular_association.rb b/activerecord/lib/active_record/associations/builder/singular_association.rb index 17f36acf40..6e6dd7204c 100644 --- a/activerecord/lib/active_record/associations/builder/singular_association.rb +++ b/activerecord/lib/active_record/associations/builder/singular_association.rb @@ -3,7 +3,7 @@ module ActiveRecord::Associations::Builder class SingularAssociation < Association #:nodoc: def valid_options - super + [:remote, :dependent, :primary_key, :inverse_of, :required] + super + [:dependent, :primary_key, :inverse_of, :required] end def self.define_accessors(model, reflection) |