This project is archived and is in readonly mode.

#4779 ✓invalid
RailsCanuck

Invalid - 'Stack level too deep' from calculations.rb:276 in beta3 on ruby 1.9.1

Reported by RailsCanuck | June 6th, 2010 @ 07:14 PM

Hello, I am fairly new to the rails world and this is my first ticket.

As you may see in my full trace I am using ruby 1.9.1 and rails 3.0.0.beta3 and I am on a Mac OSX 10.5.8 (Leopard).

I started by just creating a new rails app with and then scaffoldings a new model and running 'rake db:migrate'. That is all, nothing else.

I am getting a 'stack level too deep' error and while running a full trace I was abel to find that the following was being looped over.

activesupport-3.0.0.beta3/lib/active_support/core_ext/time/calculations.rb:276:in compare_with_coercion'

I was able to find a quick work around here
https://rails.lighthouseapp.com/projects/8994/tickets/3808-error-cr...

from bigtoe416 by running

bundle exec bash

and then I was able to migrate my database fine, however I think this is more or a band-aid to the actual problem.

Attached it my full trace without the looping

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages