I would check to see the url when you click create another. I'm assuming it's something along the lines of http://server.com/project/2/shipping/4/sample/new or something along those lines?
can you please reply with the url that you are seeing when you click the sample create new link On Thu, Feb 19, 2009 at 12:55 AM, zeal <[email protected]> wrote: > > Hi Kenny, > > my design is to create multiple shipping for a project and multiple > sample for a shipping. > > ### > In the project edit screen i have rendered shipping table > so one project may have many shipping. > > ### > shipping has many sample.... as any no of sample we can send for a > single shipping. > so in shipping "create new" and "edit" screen > sample table is coming as has_many relationship...("create another" > view) > > ### > sample has been sent for a list of product. > In a sample table product_id is their... so i just want to filter > product_id drop down to show only product which has been developed > for this project. > > > ################## > Basically i want to access project_id in the helper of shipping.. > through active scaffold constraint i am able to access project_id in > shipping helper but when you press "create another" for a sample then > this value is getting loss.. > > > > Let me know if you have any doubt... > > Thanks again > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
