While migrating rails project from 1.1.6 to 2.2.2, I am facing the 
following problems

1. how to use acts_as_tree in 2.2.2, I am getting an error,

r...@raju-desktop:~/radrails_workspace/st$ ruby script/about
/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in
 
`method_missing': undefined local variable or method `acts_as_tree' for 
#<Class:0xb6b5325c> (NameError)
  from /home/raju/radrails_workspace/st/app/models/category.rb:13
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:155:in
 
`require'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:262:in
 
`require_or_load'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:221:in
 
`depend_on'
  from 
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:133:in
 
`require_dependency'
  from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:368:in 
`load_application_classes'
   ... 10 levels...
  from /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/about.rb:1
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
  from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
  from script/about:3


2. I was using prototype version 1.5, now after update in will start 
using 1.6.0.3 is the any depreciation in the 2 versions, will the new 
prototype version work same as the previous version.

Please help me,

Thanks in advance,
Raju
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to