Forum: Ruby on Rails Problem With config.threadsafe!

Posted by "José Medeiros" <jmedeiros.neto@gmail.com> (Guest)
on 2012-12-07 12:43
(Received via mailing list)
Hi,

I am have a ERP app em Ruby on Rails, and i need this aplication allow
concurrency, when a uncomment config.threadsafe! at the first page a get
this error:

ArgumentError (dump format error()): or ArgumentError (dump format
error(x027)): etc...

After this I need comment config.threadsafe! and run a rake
db:session:clear to my app work again.

I saw the command config.threadsafe! do this:

  config.preload_frameworks = true
  config.cache_classes = true
  config.dependency_loading = false
  config.allow_concurrency = true

And this error happens when config.preload_frameworks = true is set

Anyone knows if have a problem if a set allow_concurrency
if preload_frameworks = false?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.