On Mar 7, 5:57 pm, haneef5k <hanee...@gmail.com> wrote:
> <h2><b>ActiveRecord::StatementInvalid in PublicController#create </b></
> h2>
>
> Mysql::Error: Unknown column 'albums.artist' in 'where clause': SELECT
> * FROM `albums` WHERE (albums.artist IS NULL) LIMIT 1
Hard to say without more information about what you're doing (but
here's a guess for free: either you mispellt a column name or you
haven't run a migration (or you edited a migration after you ran it))
Fred
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---