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:
parent
c91a13f8f5
commit
a3bd62e1ba
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue