obsolete.ChilliProject/test/exemplars/watcher_exemplar.rb

8 lines
154 B
Ruby

class Watcher < ActiveRecord::Base
generator_for :user, :method => :generate_user
def self.generate_user
User.generate_with_protected!
end
end