Mercurial > hg > soundsoftware-site
view test/exemplars/watcher_exemplar.rb @ 814:03d855015db8 live
Fix SQL error in project model
author | Chris Cannam |
---|---|
date | Wed, 23 Nov 2011 15:43:50 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class Watcher < ActiveRecord::Base generator_for :user, :method => :generate_user def self.generate_user User.generate_with_protected! end end