scambra/devise_invitable — Issue #159: Error following upgrade to Rails 3.2; uninitialized constant ActiveSupport::SecureRandom (NameError)
Author: simmogs
Created: 2012-01-24 16:52:22+00:00
State: open

Hi there,

I'm getting an error in my Cucumber tests following an upgrade to Rails 3.2. The error is:

uninitialized constant ActiveSupport::SecureRandom (NameError)

It occurs in the following step.

Given /^I have invited "([^"]*)"$/ do |invitee|
User.invite!(:email => invitee, :invited_by => @user)
end

It all worked quite nicely before! I appreciate that it could be Rails at fault, not devise_invitable, but I thought it was best to start the search here.

Thanks,
Graeme