Using Rails 3 edge to circumvent current_period bug?

I get an error using Rails 3 beta3 on Ruby 1.9.2-preview1

undefined method `current_period' for nil:NilClass (NoMethodError)

This commit should fix it

But I forgot how to ensure I am running on edge with Rails 3.
Is it a special bundler command I need to use?


Hmm, I guess I could just clone github rails and then use the :path
option in my Gemfile to point to that version, but is there another

The other option would be to use the :git=>"git://...." syntax with bundler.

Thanks. I've just been away from Rails dev for a bit too long...

# Bundle edge Rails instead:
gem 'rails', :git => 'git://'