mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-25 07:06:48 +09:00
No need for self
This commit is contained in:
1 parent
d3b6507ce2
commit
593f8dd04c
1 file changed
+1
-1
@@ -5,7 +5,7 @@ module ActiveRecord
|
||||
end
|
||||
|
||||
def assign_data_with_type_casting(new_data)
|
||||
new_data.each { |key, value| self.send("#{key}=", value) }
|
||||
new_data.each { |key, value| send("#{key}=", value) }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user