Skip to content
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

sqlite .from #35

Open
maxstudener opened this issue Feb 8, 2013 · 1 comment
Open

sqlite .from #35

maxstudener opened this issue Feb 8, 2013 · 1 comment

Comments

@maxstudener
Copy link

https://github.com/refinery/refinerycms-calendar/blob/master/app/controllers/refinery/calendar/events_controller.rb#L5

sqlite cant prepare sql statement, should wrap column in quotes

SQLite3::SQLException: near "from": syntax error: SELECT "refinery_calendar_events".* FROM "refinery_calendar_events" WHERE (refinery_calendar_events.from >= '2013-02-08 20:11:44.379436') ORDER BY refinery_calendar_events.from DESC

@brenes
Copy link

brenes commented Feb 25, 2013

In #38 we changed from and to columns into starts_at and ends_at

This is also published in our fork too https://github.com/simplelogica/refinerycms-calendar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants