mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-02-21 04:00:34 +09:00
Use consistent yield naming
This commit is contained in:
@@ -6,7 +6,7 @@ module ActiveRecord
|
||||
end
|
||||
|
||||
def assign_data_with_type_casting(new_data)
|
||||
new_data.each { |key, value| send "#{key}=", value }
|
||||
new_data.each { |k, v| send "#{k}=", v }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user