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?


#example
def self.somemethod

end

--
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
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedFeb 21, '12 at 10:04a
activeFeb 21, '12 at 10:04a
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Cipher_neo: 1 post

People

Translate

site design / logo © 2021 Grokbase