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

Remove explicit return.

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Emilio Tagua 2010-11-25 16:12:57 -03:00 committed by Santiago Pastorino
parent c91a13f8f5
commit a3bd62e1ba

View file

@ -67,7 +67,7 @@ module ActiveRecord
relation.insert(attributes)
end
return true
true
end
def delete_records(records)
@ -80,7 +80,7 @@ module ActiveRecord
).delete
end
end
def construct_joins
"INNER JOIN #{@owner.connection.quote_table_name @reflection.options[:join_table]} ON #{@reflection.quoted_table_name}.#{@reflection.klass.primary_key} = #{@owner.connection.quote_table_name @reflection.options[:join_table]}.#{@reflection.association_foreign_key}"
end