On Apr 22, 5:00 pm, Jedrin <[email protected]> wrote: > 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. >
What are you calling lock on / how are you calling it ? There's an active record method called lock and it looks like you're somehow ending up calling that Fred > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/rubyonrails-talk?hl=en. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

