I had exactly the same problem. Using Rails 2.1 and AS 2.1 (I cloned the latest from github because the "stable" code doesn't work with Rails 2.1)
I sorted it out by reading through my logs. Everything set up as in the examples, well nearly set up as in the examples. I had a difference in the child model. In my set up I had ChildModel <ActiveRecord::Base belongs_to :pa_rent # well not that exactly but the equivalent end in the parent controller active_scaffold :parents Due to the spelling mistake in my belongs_to relationship it bombed with the same error that you're getting. So check through your log files and see where it's going wrong. If it's like me it'll be looking for a constant that doesn't exist. So you just have to get the spelling right. > I get the table fine, with the "Hotels" Link to the right, but when I > click on it I get an error. I have tried many things, including > different names for the foreign key (hotel, hotels, hotel_id) but I > cannot make thenestedview to work. > Kostas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
