Very strange.  Changed in environment.rb:

# Make Active Record use UTC-base instead of local time
config.active_record.default_time_zone :utc
# config.time_zone = 'UTC'

Mongrel running in dev mode - still getting the error.
In production - no error.

Color me baffled


On Thu, Sep 16, 2010 at 4:13 PM, Josh French <[email protected]> wrote:

> > The error occurred while evaluating nil.include?
>
> Is this happening in development mode? If so, it is probably my favorite*
> ActiveRecord bug:
> https://rails.lighthouseapp.com/projects/8994/tickets/1339-arbase-should-not-be-nuking-its-children-just-because-it-lost-interest
>
> The workaround is to edit config/environment.rb and change:
>
>    config.time_zone = 'UTC'
>
> to:
>
>    config.active_record.default_time_zone :utc
>
> Let me know if that doesn't fix it for you.
>
>
>
> *Least favorite.
>
>

Reply via email to