I whipped up an administration app for a web app which has content divided out by sites and all have membership capabilities. So I made a scaffold for the sites lookup up table (50 records) and another for the member (500K). Being that each member is related to a specific site ID I figured heck, I'll add the has_many to the sites model and the belongs_to in the members model. Dong so basically crippled the editing capabilities of the site table scaffold and would simply hang upon clicking edit. Since there was no real need for the model relation in the admin I commented out the has_many/belongs_to in each model and site editing comes right up.
Obviously not a priority and I need to look more into associations with this wonderful little component but I figured I'd throw it out there. This is on a production Ubuntu 9.04 server with a total of 8 cores and 32GB of RAM, MySQL 5.1 (InnoDB), Ruby 1.8, Rails 2.3.5 and Apache 2.2 with passenger/mod_rails. -- 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.
