Using Time.now in AR#find :conditions - not working correctly?

2010-04-20 Thread Matthew Moore
I have a model that I'm trying to do a find along with conditions that rely on Time.now. When I run 2 simple queries, one with created_at <= Time.now, and one without, I expect to find the exact same record (because no new posts have been created in between these calls). But I get different resul

"Heroku push rejected, your slug is currently being compiled" for the last few hours

2010-04-08 Thread Matthew Moore
Hi, How long does a slug take to compile? I've been getting the "Heroku push rejected, your slug is currently being compiled" for the last three or four hours. I've never gotten this before. Here's the full message: $ git push heroku master Counting objects: 34, done. Delta compression using

heroku db:pull: can't activate rest-client

2009-07-18 Thread Matthew Moore
Hi, I'm getting an error on heroku db:pull: /Library/Ruby/Site/1.8/rubygems.rb:149:in `activate': can't activate rest-client (~> 0.9.0, runtime), already activated rest-client-1.0.3 (Gem::Exception) from /Library/Ruby/Site/1.8/rubygems.rb:165:in `activate' from /Library/Ruby/Site

Re: Periodic Crashes (Server failed to start), no messages in production.rb

2009-01-08 Thread Matthew Moore
"All the messages within production.rb are for" Sorry, I meant to expand on this: All the messages within production.rb are for the calls to the app that worked. No errors in production.log, or any other logs/*.log file On Jan 8, 10:22 am, Matthew Moore wrote: > I'

Periodic Crashes (Server failed to start), no messages in production.rb

2009-01-08 Thread Matthew Moore
I'm getting periodic, unexplained crashes on some of my apps. For example, I'll be making calls to my app http://classic-grouped-links.heroku.com/ (running in production) via ActiveResource API. All of the calls will work, and then all of the sudden, the app dies. When I load up http://classic-g

Re: > 10s response time for static files sometimes?

2009-01-08 Thread Matthew Moore
oduction mode"?  I > wonder if that might make a slight improvement... > > ...Paul > > On Thu, Jan 8, 2009 at 9:31 AM, Matthew Moore wrote: > > > Hi, > > > Some of my apps are seeing occasionally horrible performance - a > > greater-than 10 second response t

> 10s response time for static files sometimes?

2009-01-08 Thread Matthew Moore
Hi, Some of my apps are seeing occasionally horrible performance - a greater-than 10 second response time - even for static files like index.html. >From purely anecdotal experience, it seems like this is happening when the app hasn't been contacted for a few hours, and then on the first request

Re: Server failing to start

2008-12-02 Thread Matthew Moore
The real issue is that in a default "config/production.rb", there's a line: config.action_view.cache_template_loading= true This call no longer exists in rails 2.2.2. If you remove that line from 'config/production.rb' and redeploy your app, your app shouldn't run into this problem

Migrations not auto-running on new 2.2.2 deploy

2008-11-27 Thread Matthew Moore
When I run through these steps on my new 2.2.2 app I'm deploying, the migration run seems to fail. However, I can edit the app in heroku, and run the migrations from the edit screens in Firefox, and they run just fine. I didn't have this problem a week ago when I deployed another app using 2.1 on

Re: Rails 2.1.1 Available?

2008-11-13 Thread Matthew Moore
Hmm I'm not sure what you mean by this. I'm trying to get 2.1.1 or 2.1.2 to work... On Thu, Nov 13, 2008 at 6:04 PM, Keenan Brock <[EMAIL PROTECTED]> wrote: > > I changed the version to 2.1 and it worked fine > > --Keenan > > > > On Nov 13, 2008, at

Re: Rails 2.1.1 Available?

2008-11-13 Thread Matthew Moore
> No. Heroku has a custom patched rails specifically for their service. > In most cases it is compatible with the upstream rails, but there are > still some snags the Heroku team's working out. That's too bad. My app relies on a lot of the bugfixes in 2.1.1 (it has heavy use of ActiveResource!)

Re: Rails 2.1.1 Available?

2008-11-13 Thread Matthew Moore
Apparently 2.1.2 is the most current stable release! I would like to apply my question to 2.1.2 :) On Nov 13, 4:56 pm, Matthew Moore <[EMAIL PROTECTED]> wrote: > I uploaded my first app to Heroku (yay!!), but it seems like Heroku > isn't running with Rails 2.1.1 (th

Rails 2.1.1 Available?

2008-11-13 Thread Matthew Moore
I uploaded my first app to Heroku (yay!!), but it seems like Heroku isn't running with Rails 2.1.1 (the current release). Missing the Rails 2.1.1 gem. Please `gem install -v=2.1.1 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, o