Displaying 1 result from an estimated 1 matches for "classic_namespac".
Did you mean:
classic_namespace
2006 Mar 13
0
Problems with association named :task
...and simultaneously in the log I get:
WARNING: Deprecated reference to top-level constant ''Task''found at:
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1702:in
`rakefile_location''
Use --classic-namespace on rake command
or ''require "rake/classic_namespace"'' in Rakefile
I''ve even tried specifying
belongs_to :task, :class_name => "ActiveRecord::Task", :foreign_key =>
''task_id''
and still no luck. Any suggestions?
I''m on Edge Rails.
Thanks!
Jason
--
Posted via http://www.ruby-foru...