[Rails] restful_authentication setup using aasm gem

2009-04-28 Thread pk16
Hi, I installed the restful_authentication plugin using the aasm option instead of stateful and I can't seem to get it working. I keep getting stating Event 'register' cannot transition from 'pending' it appears to be from a lack of code in my user model that I believe installing

[Rails] upgrading plugins methodology

2009-02-01 Thread pk16
Hi, I've been cruising along trying to upgrade a rails 2.0.2 app to 2.2.2, but first made a pit stop at 2.1.2 based on some posts that I read. Are there any tutorials, guides etc... on how to keep the plugins compatible with the latest version of Rails that I'm on? How would I know what version

[Rails] Re: Ruby on Rails and Mysql

2009-02-01 Thread pk16
Hi, for people new to ROR this is a really good free introduction course. http://www.buildingwebapps.com/course On Jan 31, 11:56 am, beardy beardsm...@googlemail.com wrote: I'm fairly new to programming and the mac and I really want to have a go at learning Ruby On Rails, I have followed the

[Rails] undefined method error for a polymorphic route

2009-01-25 Thread pk16
Hi, I'm trying to upgrade a 2.0.2 app to 2.2.2, but first I decided to upgrade to 2.1.2 after reading some posts recommending to do this. After firing up the app and running my tests, I now see that my polymorphic routes seem to be broken. test_should_create_footerpage(PagesControllerTest):

[Rails] ActionController::TestRequest bug?

2008-12-14 Thread pk16
Hi, while starting to setup functional tests for my application I received the following error: NoMethodError: undefined method `server_name' for #ActionController::TestRequest which is coming from an instance variable I'm setting up in my application controller. @domain =