search for: catalog_id

Displaying 2 results from an estimated 2 matches for "catalog_id".

Did you mean: catalog_a
2008 Jul 04
2
How do change catalog before catalog is delted?
In my rails application,there are two models:post and catalog. One post has a catalog,and one catalog has many posts. When I delete a catalog,the posts belongs to the catalog will not be shown normal,for it''s catalog is no existed. Now I want to create(if the ''Defalut catalog'' is not existed) a ''Defalut catalog'' in catalogs table,and make the
2006 Sep 26
0
Find Returning String Instead of Integer?
...rement method. >> @cart = Cart.new => #<Cart:0x2730f40 @new_record=true, @attributes={}> >> @cart.items << Item.find(:first) => [#<Item:0x272d6ec @attributes={"vendor_id"=>"1", "updated_at"=>"2006-09-26 12:00:38", "catalog_id"=>"8050", "price"=>"185", "created_by"=>"Unit Tests", "unit"=>"ea", "updated_by"=>nil, "id"=>"1", "description"=>"CAP analog for SP6 MegaScript kit", &qu...