Newbie with RoR. I have searched the net and looked at the PDF books
but without much luck. Here is what I am trying to do:
I have a view which adds a new “part” to a list of parts for a supplier.
This works just fine. However, one of the attributes of the “part” is a
foreign key to a list of manufacturers products.
I want to have the one “add part for supplier” view have a subform that
will allow the user to filter and select a manufacturer’s product.
So a couple of questions:
-
How do I do a search view? Can you suggest an example?
-
How can a view have more than one action button? In my case, I want a
“add” button for adding the part, and also a “search” button just to
filter the sub list of manufacturer’s products.
thanks for any pointers.
Don