Hi,
I keep getting this in my development.log and I have no idea how
important it is or where it is coming from. It’s peeked my curiosity,
so if anyone knows…
Parameters: {“action”=>“index”, “controller”=>“blog”}
DEPRECATION WARNING: The :dependent => true option is deprecated and
will be removed from Rails 2.0. Please use :dependent => :destroy
instead. See http://www.rubyonrails.org/deprecation for details. See
http://www.rubyonrails.org/deprecation for details. (called from
has_many at
/Users/mike/betablog/config/…/vendor/rails/activerecord/lib/active_record/associations.rb:550)
line 550 is the “has_many()” method.
def has_many(association_id, options = {}, &extension)
reflection = create_has_many_reflection(association_id,
options, &extension)
configure_dependency_for_has_many(reflection)
if options[:through]
collection_reader_method(reflection,
HasManyThroughAssociation)
else
add_multiple_associated_save_callbacks(reflection.name)
add_association_callbacks(reflection.name, reflection.options)
collection_accessor_methods(reflection, HasManyAssociation)
end
add_deprecated_api_for_has_many(reflection.name)
end
Is this something I should worry about blowing up my app?
Regards,
-mike