SecurityError #9

Open
meviofilano opened this Issue Jan 16, 2010 · 2 comments

Projects

None yet

3 participants

@meviofilano

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

@technoweenie
Owner

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

@tommeier

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment