search for: cameronsoftware

Displaying 3 results from an estimated 3 matches for "cameronsoftware".

2006 Mar 14
3
Simple search on joined table
Looking for some guidance, I seem to be caught in the weeds. I want to do a search on fields in a master/detail relationship. E.g. manufacturer owns many parts. I want to search on the manufacturer name, part name and part number, then return the full set of results. I have tried to use the .find method and create my own model .find method using a SQL statement, but then the results do not
2006 Mar 13
2
newbie: parent-child view
I have a simple database: a list of manufacturers (parent) and the parts (child) for the manufacturer. >From scaffold, I have a ?show? view listing manufacturers. I modified this view to list the parts for the manufacturer. I also have a link to create a new part. This causes the controller to display a new view to create a new part for the manufacturer. So creating the part is AOK,
2006 Mar 14
0
Search within an Add page
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