search for: product_category_id

Displaying 5 results from an estimated 5 matches for "product_category_id".

2012 Feb 02
3
MVC questions with rails
2007 Nov 05
6
Strange wildcard problem
...h of which are indexed on a similar (but separate) non-model field. However, one of those two models does not seem to get the proper number of results for a wildcard search: First of all, there''s a non-indexed model called ProductTuple that''s got a supplier_id as well as a product_category_id and product_material_id as well as some other id fields that aren''t really important here. Thus, a ProductTuple has foreign key relationships to Suppliers and ProductCategories and ProductMaterials, but for ferret purposes just think of those foreign keys as what they are - ids (e....
2006 Jul 26
1
How to create table entry with multiple related categories?
Perhaps I should create a table row to hold an array of category ID''s? There''s probably an easy standard way of doing this in RoR and I just can''t wrap my brain around a practical way to do this right off. Specifically... I have a table that contains my product category names and another table that contains my actual product names with other product specific
2006 Apr 19
2
I need help in ActiveRecord..
I have this Product.find(:all, :include => [:brand, :category, :type], :group => "description"), but it dont group by description why? Bruno -- Posted via http://www.ruby-forum.com/.
2005 Dec 27
3
myObject.send(column.name) from Agile Development book
I''m studying the Agile Development with Rails book. In the chapter that first sets up the depot application (page 68), there is this bit of code from a view: <% for product in @products %> <tr> <% for column in Product.content_columns %> <td><%=h product.send(column.name) %></td> <% end %> etc... I am trying to absorb both Ruby and