On 14 December 2010 15:35, Amador Antonio Cuenca <[email protected]> wrote:
> Hi guys, I'm following the Beginning Rails 3 Book, I've problems with the
> many to many relationship between Article-Category, when I try to create or
> show a article.
> Please help me, I'm new with Rails.
> Regards,
>
> ActiveRecord::StatementInvalid in Articles#new
>
> Showing I:/Labs/RailsProjects/blog/app/views/articles/_form.html.erb where
> line #27 raised:
>
> SQLite3::SQLException: no such column: articles_categories.category_id:

And has your articles_categories table got a column category_id?
If you think it has then how do you know?
If you still think it has show us db/schema.rb

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to