lib/active_support/callbacks.rb in activesupport-4.1.14 vs lib/active_support/callbacks.rb in activesupport-4.1.14.1

- old
+ new

@@ -766,10 +766,10 @@ line = class_eval "lambda { |result| #{value} }", __FILE__, __LINE__ options[:terminator] = lambda { |target, result| target.instance_exec(result, &line) } end names.each do |name| - class_attribute "_#{name}_callbacks" + class_attribute "_#{name}_callbacks", instance_writer: false set_callbacks name, CallbackChain.new(name, options) end end protected