Ruby on Rails
Thursday, December 6, 2012
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?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/1Ur1xFAFv64J.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment