提交 a3bd62e1 编写于 作者: E Emilio Tagua 提交者: Santiago Pastorino

Remove explicit return.

Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 c91a13f8
......@@ -67,7 +67,7 @@ def insert_record(record, force = true, validate = true)
relation.insert(attributes)
end
return true
true
end
def delete_records(records)
......@@ -80,7 +80,7 @@ def delete_records(records)
).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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册