1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

ActiveRecord::Core#initialize: improve performance

This commit is contained in:
Bogdan Gusiev 2012-03-15 10:24:13 +02:00
parent 29094c0788
commit 791251bf8b

View file

@ -176,7 +176,7 @@ module ActiveRecord
assign_attributes(attributes, options) if attributes
yield self if block_given?
run_callbacks :initialize
run_callbacks :initialize if _initialize_callbacks.any?
end
# Initialize an empty model object from +coder+. +coder+ must contain