http://github.com/sanjayayogi/m2m_test/tree/master
Yesterday I updated the shell script that generates the sample many to many application. Pagination, search, and modify and creating new assignments are working. Read the readme to understand what the shell script is doing. It is possible to generate the application using sqlite. I will upload a modified shell script that uses sqlite instead of mysql for people who do not have or want to use mysql. Hope this helps a few people use active_scaffold in many to many situations. I want to add a file upload function, export csv, and password protection with roles to limit who can edit, create, and delete records. Thanks to everyone who helped! On Dec 23, 7:45 pm, sanjayayogi <[email protected]> wrote: > Actually, at this time things are working pretty well. > (I am on vacation for two weeks, will be putting more time in after > the holidays) > > Check out:http://github.com/sanjayayogi/m2m_test/tree/master > > The current > routes.rbhttp://github.com/sanjayayogi/m2m_test/tree/master/m2m/config/routes.rb > > ## Change the top of your routes to be: > ## Reply on GitHub:http://github.com/inbox/43673#reply > ActionController::Routing::Routes.draw do |map| > map.resources :programmers, :active_scaffold => true > map.resources :projects, :active_scaffold => true > map.resources :assignments, :active_scaffold => true > map.connect ':controller/:action/:id' > map.connect ':controller/:action/:id.:format' > end 22, 12:12 pm, "nicolae.claudius" <[email protected]> > wrote: > > > > > Check out your routes. You might be using a restful design and when > > you are calling > > assignments/edit_associated > > instead of calling edit_associated method on assignments you call > > index with ID edit_associated.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
