diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2012-07-23 04:13:18 -0400 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2012-07-23 04:13:18 -0400 |
commit | c34c1916d1d6cd6ba219aa39eb97fa2e77c4c61f (patch) | |
tree | 1c66fcce50e69bc1d2f2cb6fc7d773a5ca607952 /activerecord/lib | |
parent | 738a0e17eb2f7b6656e8a4a9fa58d4609bcc7eaa (diff) | |
download | rails-c34c1916d1d6cd6ba219aa39eb97fa2e77c4c61f.tar.gz rails-c34c1916d1d6cd6ba219aa39eb97fa2e77c4c61f.tar.bz2 rails-c34c1916d1d6cd6ba219aa39eb97fa2e77c4c61f.zip |
Removed reference to composed_of.
It was previously removed from the code, so we shouldn't mention
it in the docs
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/sanitization.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/sanitization.rb b/activerecord/lib/active_record/sanitization.rb index ca767cc704..0dd4070ba4 100644 --- a/activerecord/lib/active_record/sanitization.rb +++ b/activerecord/lib/active_record/sanitization.rb @@ -54,9 +54,6 @@ module ActiveRecord # # => "`other_records`.`id` = 7" # { :other_records => { :id => 7 } } # # => "`other_records`.`id` = 7" - # And for value objects on a composed_of relationship: - # { :address => Address.new("123 abc st.", "chicago") } - # # => "address_street='123 abc st.' and address_city='chicago'" def sanitize_sql_hash_for_conditions(attrs, default_table_name = self.table_name) table = Arel::Table.new(table_name).alias(default_table_name) PredicateBuilder.build_from_hash(arel_engine, attrs, table).map { |b| |