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

fix for app/models/carousel.rb to work with sqlite #7

Open
didnotwrite opened this issue Apr 25, 2011 · 2 comments
Open

fix for app/models/carousel.rb to work with sqlite #7

didnotwrite opened this issue Apr 25, 2011 · 2 comments

Comments

@didnotwrite
Copy link

I had to change line 19 to:

  named_scope :to_run, :conditions => "strftime('%s',current_timestamp) > strftime('%s',COALESCE(last_run, '1970-01-01')) + period"
@giemsky
Copy link
Owner

giemsky commented Apr 27, 2011

Which database do you use?

@didnotwrite
Copy link
Author

Sqlite 3.something

gmiklaszewski reply@reply.github.com wrote:

Which database do you use?

Reply to this email directly or view it on GitHub:
#7 (comment)

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