# File lib/delayed_job_unique_key/base.rb, line 4 def self.included(base) base.extend ClassMethods end
# File lib/delayed_job_unique_key/base.rb, line 45 def check_unique_key return true if !self.respond_to?(:unique_key) || self.unique_key.blank? self.class.where(:unique_key => self.unique_key, :locked_at => nil).first.nil? end
[Validate]
Generated with the Darkfish Rdoc Generator 2.