Displaying 1 result from an estimated 1 matches for "posting_image_id".
2006 Jan 10
5
Select Tag and Associations
...category model I have "belongs_to
:posting". That part I ''believe'' is correct, however I very well could
be off on that.
The columns in the postings table:
+-------------------
| Field
+------------------
| id
| title
| body
| user_id
| category_id
| posting_status_id
| posting_image_id
| comment_id
| created_at
| updated_at
+-------------------
The columns in the categories table:
+-------------
| Field
+-------------
| id
| title
| description
+-------------
With the following code I can successfully display the categories in
the drop down, but the ID is not saved to the posti...