1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove conditional committed by accident

This commit is contained in:
Santiago Pastorino 2012-06-09 10:41:21 -03:00
parent f9cfe9a4b2
commit 6bd729e86f

View file

@ -4,7 +4,7 @@ module ActiveRecord
attributes.map do |column, value| attributes.map do |column, value|
table = default_table table = default_table
if value.is_a?(Hash) && !value.empty? if value.is_a?(Hash)
table = Arel::Table.new(column, engine) table = Arel::Table.new(column, engine)
value.map { |k,v| build(table[k.to_sym], v) } value.map { |k,v| build(table[k.to_sym], v) }
else else