Displaying 2 results from an estimated 2 matches for "some_counter".
Did you mean:
comm_counter
2006 Jul 12
1
When to use Mutex::synchronize?
I have a simple question when to the synchronize method in the Mutex
class.
Now that backgroundrb has allow_concurrency = true there is no need
to synchronize database calls in threads.
The question I have is lets say I have a simple method in my worker
as follows:
def some_method
SomeModel.find_all each do |obj|
obj.some_count += 1
obj.save!
end
end
It accesses the database, but
2006 Feb 18
2
select widget in partial, can it use :index?
I know I can use :index => collection_counter with text_fields, but do
they work with any version of select form helpers?
Thanks!
Ian