-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mysql2 error #54
Comments
This actually might be related to the fact that I named the column "order". |
You can escape it by using the table name prefix order by On Wed, Sep 26, 2012 at 10:05 PM, vnguyen13 notifications@github.comwrote:
|
Thanks for being so quick and responsive. I tried it out and got:
This is what my line looks like: acts_as_list :column => `featured_items`.order |
Sorry, I should have been clearer. I meant :column => " |
Getting closer.. now it's saying:
|
Can you paste your |
It should look like this: acts_as_list :column => "`featured_items`.order" Alernatively, you can also use: acts_as_list :column => "`order`" |
Well, fixed by doing two things. Changed the column name to position, and then fixed a routing error I must've had for a long time. Thanks again for the help. |
Hi again, I'm getting a errors when I go to create a new item or when updating an item.
I have 8 items, their order starts with 0 and goes to 7. When I go to create a new item and hit create, I actually get a routing error:
When I go to update an item, this comes up when I hit Update:
I'm running rails 3.2.8. Have you seen this before?
The item does get does get created. It just gives an error.
The text was updated successfully, but these errors were encountered: