technoweenie/restful-authentication

SecurityError

Opened this issue · 2 comments

In my Rails application, in production mode, when a user signs up I got the following error:

SecurityError (calling insecure method: make_activation_code): app/controllers/utenti_controller.rb:76:in `create' public/dispatch.fcgi:24

Configuration:

  • ruby 1.8.6 (2009-06-08 patchlevel 369)
  • rails 2.3.5

I've not found any information on the Web, any helpful hint?

Mevio

It sounds like your ruby SAFE level is higher than normal: http://www.cs.auckland.ac.nz/references/ruby/ProgrammingRuby/taint.html

I get this on heroku too, when in conjunction with acts_as_state_machine.