Where lies the deprication here?


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)


        if options[:through]
          collection_reader_method(reflection, HasManyThroughAssociation)
          add_association_callbacks(reflection.name, reflection.options)
          collection_accessor_methods(reflection, HasManyAssociation)


Is this something I should worry about blowing up my app?


That's where the warning is being issued, but the actual problem is
going to be in the line where you called has_many with a :dependent
=> true.