oneiros/frab — Issue #3: Creating cfp user fails on ruby 1.8.7
Author: wingfire
Created: 2011-11-08 21:47:58+00:00
State: open

Please fix code or documentation.
ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
rails -v
Rails 3.1.1

NoMethodError in Cfp::UsersController#create

undefined method `urlsafe_base64' for SecureRandom:Module

Rails.root: ./frab
Application Trace | Framework Trace | Full Trace

lib/unique_token.rb:7:in `generate_token_for'
lib/unique_token.rb:6:in `loop'
lib/unique_token.rb:6:in `generate_token_for'
app/models/user.rb:91:in `generate_confirmation_token'
app/controllers/cfp/users_controller.rb:15:in `create'