loganrhyne
11-26-2009, 03:46 PM
Hello!
After lots of hours of follwing different tutorials I managed to get my Rails app up and running on Bluehost (app.k-rides.com). My problem is now that code that was working fine when running on my localhost now breaks on the remote server and I have no idea how to begin to figure out what has gone wrong.
The error comes when trying to create a new user:
undefined local variable or method `login' for #<User:0x7f914097ae18>
here's the trace:
/home2/kridesco/ruby/gems/gems/activerecord-2.3.4/lib/active_record/attribute_methods.rb:260:in `method_missing'
/home2/kridesco/rails/application/app/models/user.rb:108:in `encrypt_password'
/home2/kridesco/rails/application/app/controllers/users_controller.rb:23:in `create'
I'm trying to use the Restful Authentication plugin (which requires the Acts As State Machine plugin as well). These plugins work fine in the localhost version but my gut feeling is that they are somehow not installed properly on the bluehost server. Does anyone have any experience working with Rails plugins on Bluehost or any insight into these errors?!? Any help would be appreciated!
After lots of hours of follwing different tutorials I managed to get my Rails app up and running on Bluehost (app.k-rides.com). My problem is now that code that was working fine when running on my localhost now breaks on the remote server and I have no idea how to begin to figure out what has gone wrong.
The error comes when trying to create a new user:
undefined local variable or method `login' for #<User:0x7f914097ae18>
here's the trace:
/home2/kridesco/ruby/gems/gems/activerecord-2.3.4/lib/active_record/attribute_methods.rb:260:in `method_missing'
/home2/kridesco/rails/application/app/models/user.rb:108:in `encrypt_password'
/home2/kridesco/rails/application/app/controllers/users_controller.rb:23:in `create'
I'm trying to use the Restful Authentication plugin (which requires the Acts As State Machine plugin as well). These plugins work fine in the localhost version but my gut feeling is that they are somehow not installed properly on the bluehost server. Does anyone have any experience working with Rails plugins on Bluehost or any insight into these errors?!? Any help would be appreciated!