I really like the "Rapid Rails" PDFs. Very well done, Barquin. I have encountered one bit of voodoo:
In "CHAPTER 3 – BEGINNING TUTORIALS Tutorial 2 - Changing Field Names and Displaying Hints", they give an example of modifying the model to rename a database column. I had to do this for my project, so this was handy. The old and apparently badly-named column "install_id" was renamed to a safer, gentler "install_code". Migration was run successfully. As indicated in the tutorial, the change was immediately visible in the produced html. However, when I try and add a new record, I get a very puzzling: NoMethodError (undefined method `install_id' for #<Bridge: 0xb71751d0>): hobo (0.8.8) lib/hobo/find_for.rb:48:in `method_missing' hobo (0.8.8) lib/hobo/lifecycles.rb:67:in `valid?' hobo (0.8.8) lib/hobo/permissions.rb:145:in `user_update_attributes' hobo (0.8.8) lib/hobo/permissions.rb:121:in `with_acting_user' hobo (0.8.8) lib/hobo/permissions.rb:143:in `user_update_attributes' hobo (0.8.8) lib/hobo/model_controller.rb:501:in `hobo_create' hobo (0.8.8) lib/hobo/model_controller.rb:154:in `create' hobo (0.8.8) lib/hobo/controller.rb:22:in `call' hobo (0.8.8) lib/hobo/controller.rb:22:in `included_in_class' ... I haven't modified the related Card, or the Page. The controller is also unmodified. So this is pure "Rapid", as it were. I re-read the tutorial, and I don't think I missed any steps. Can anyone suggest what I am doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
