Thursday, April 22, 2010

[Rails] puzzled by Mutex lock call ..

I have some code that uses and instance of Mutex and calls
@mutex.lock, executes some code and then does
unlock(). When I call lock() I get some ActiveRecord error which seems
unrelated.

Couldn't find ActiveJob with ID=3
["/home/LGuild/.gem/ruby/1.8/gems/activerecord-2.3.5/lib/active_record/
base.rb:1586:in `find_one'", "script/jobmgr.rb:107:in `lock'",


This is on Fedora 12, I haven't a good idea on how to troubleshoot
this ..

--
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.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate