Displaying 1 result from an estimated 1 matches for "lockingresource".
2009 Dec 17
2
RFC: conflict_warnings plugin
...isual_effect :highlight, :status
flash.discard
end
}
end
end
end
If the a user loads the the show page for an example, and that same
example is modified by another user before that first user confirms,
that first users'' attempt to confirm is blocked.
LockingResource example:
class LockingResourcesController < ApplicationController
before_filter :login_required, :acquire_lock
protected
def acquire_lock
catch_resources_unavailable current_user, :accessor
=> :acquire_lock_for_user,
:message => "Could not...