Project with later versions
|
|
Hi, I have installed Rails 2.3.5 and ruby 1.9.1 into a ubuntu virtual box. I was OK upto page 74, but @todos = @today.todos casued a problem. That turned out to be because I did not have the acts_as_list plugin. I got further errors that seemed to stem from the tasks I created, so I cleared out the tables in sqlite3 to start again. Now I get: TypeError (nil is not a symbol): app/models/todo.rb:6:in `<class:todo>‘ app/models/todo.rb:1:in `<top>‘ app/controllers/today_controller.rb:6:in `index’ <internal:prelude>:8:in `synchronize’ /home/andy/.rvm/ruby-1.9.1-p376/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service’ /home/andy/.rvm/ruby-1.9.1-p376/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run’ /home/andy/.rvm/ruby-1.9.1-p376/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread’ I tried the complete source from the website in a different directory, but it was not happy with my version. Anyone got this project to work in the ruby and rails versions indicated? ...Andy |
|
|
|