Project with later versions

Subscribe to Project with later versions 2 post(s), 2 voice(s)

 
Avatar Andy Stephenson 1 post

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:
Processing TodayController#index (for 127.0.0.1 at 2010-01-13 15:59:15) [GET] User Load (0.5ms) SELECT * FROM “users” WHERE (“users”.”id” = 1) LIMIT 1 Schedule Load (2.3ms) SELECT * FROM “schedules” WHERE (“schedules”.user_id = 1 AND (today = ‘2010-01-13’)) LIMIT 1 Todo Load (0.3ms) SELECT * FROM “todos” WHERE (schedule_id IS NULL) ORDER BY position DESC LIMIT 1 Todo Create (0.5ms) INSERT INTO “todos” (“schedule_id”, “task_id”, “position”) VALUES

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

 
Avatar EldonAlameda Administrator 216 post(s)

see this topic