Displaying 2 results from an estimated 2 matches for "carts_item".
Did you mean:
cart_item
2006 Apr 10
4
Many To Many''s Join table attributes + migrations
Hi all,
just joined and have only just kicked off with Rails (coming, but not
departing, from WebObjects development). And so far there seems to be
a lot of promise except for one thing I can''t figure out as yet --
the above problem.
Say I have the following conceptual relationships:
ITEMS <<--->> CARTS
i.e., each item can belong to one or more categories. So really
2006 Sep 26
0
Find Returning String Instead of Integer?
...increment''
from
/usr/local//lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1451:in
`increment!''
from (irb):8
Using
-----
Rails 1.1.6
Mac OS 10.4.7
mysql Ver 14.7 Distrib 4.1.20, for apple-darwin8.5.1 (i686) using
readline 4.3
mysql> desc carts_items;
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
| cart_id | int(11) | | | 0 | |
| item_id | int(11) | | | 0 | |
| quantity | int(11) |...