remove useless assignment
This commit is contained in:
parent
13e79eb6c3
commit
26caf32949
@ -1542,9 +1542,8 @@ def initialize(attributes = nil, options = {})
|
||||
|
||||
assign_attributes(attributes, options) if attributes
|
||||
|
||||
result = yield self if block_given?
|
||||
yield self if block_given?
|
||||
run_callbacks :initialize
|
||||
result
|
||||
end
|
||||
|
||||
# Populate +coder+ with attributes about this record that should be
|
||||
|
Loading…
Reference in New Issue
Block a user