Hey guys,

using passenger, is it possible that there could be thread safety issues
when executing a class method on a model?

I am seeing some weird data in some of my model instances and I think it
may be to do with concurrent processing of a class method in a model.

Is this possible, that variables get shared between all threads of
execution, when you are accessing a class method?

def self.somemethod


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/HiqWlnPiyL0J.
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.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouprubyonrails-talk @
postedFeb 21, '12 at 10:04a
activeFeb 21, '12 at 10:04a

1 user in discussion

Cipher_neo: 1 post



site design / logo © 2022 Grokbase