Can anyone help? I am trying to get rforum up and running. I cannot run it in development mode (eclipse w/radrails plugin) I get the following error: undefined method `acts_as_list' for #<Class:0x3831730> RAILS_ROOT: C:/Infused/rforum Application Trace | Framework Trace | Full Trace C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/base.rb:1459:in `method_missing' app/models/forum.rb:5app/controllers/application.rb:147:in `get_forums' -e:2:in `load'-e&line=2">C:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active_record/base.rb:1459:in `method_missing' app/models/forum.rb:5app/controllers/application.rb:147:in `get_forums' -e:2:in `load'-e:2 When I load it on my server and run it in production mode I get the following error: rake aborted! no such file to load -- ferret /home/tsonny/rforum/Rakefile.rb:9 I don't even know where to begin trying to resolve this issue...Best I can figure out is that it has something to do with the site:id configuration. Please help me.... T.Sonny
on 18.12.2007 22:22
on 20.12.2007 21:58
install acts_as_list plugin: cd C:\ruby\rforum ruby script/plugin install acts_as_list
on 20.12.2007 22:08
Igor Lychakov wrote: > install acts_as_list plugin: > > cd C:\ruby\rforum > ruby script/plugin install acts_as_list Thanks that is exactly what I did, I am up and running...
on 20.12.2007 22:47
Have you been able to run rforum site? I am trying to make it work for second day and still have a problem. It does not want to render /user/register and other pages due to exceptions thrown because of missing Site, Forum and other objects. So I created then using console and debugging code now. Also removing rendering of some parts/objects makes it working... I guess the database has to be initialized with some objects.
on 21.12.2007 02:23
Igor Lychakov wrote: > Have you been able to run rforum site? I am trying to make it work for > second day and still have a problem. It does not want to render > /user/register and other pages due to exceptions thrown because of > missing Site, Forum and other objects. > > So I created then using console and debugging code now. > Also removing rendering of some parts/objects makes it working... > I guess the database has to be initialized with some objects. I think you can work around all of the issues by freezing your rails version to 1.2.3; that was the fix for me to get production up and running. run: gem install rails -v 1.2.3 and then open your environments file and add the following: RAILS_GEM_VERSION = '1.2.3' unless defined? RAILS_GEM_VERSION then run your migrations again and you should be able to deploy from there. I also had a depreciated method in migrations #12 find_all should be find(:all); but this may not be an issue if you freeze your version first. I am up and running and everything works well.
on 21.12.2007 04:06
Thanks, I will follow your steps as soon as give up on making it run on rails 2.0