Closed wingfire closed 12 years ago
working with: ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] rails -v Rails 3.1.1
I think the SecureRandom thing is the only 1.8 incompatibility right now, so I will look into a possible workaround.
Ruby 1.9 has been around (and stable) for a long time now, though. Rails will eventually drop support for 1.8, so I would advise everyone to use 1.9.
I deciced to not pursue this after all. This is now reflected in the README.
I still maintain a few applications that need to run on 1.8 and it is becoming an ever more increasing pain. Upgrading to ruby 1.9 is really worth whatever hassle it might cause.
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:ingenerate_token_for' app/models/user.rb:91:in
generate_confirmation_token' app/controllers/cfp/users_controller.rb:15:in `create'