Sha256: 6ee9ee0229856351eb90df01f5658b104ed28573c644b5d98a5ccf9154dbdd77
Contents?: true
Size: 389 Bytes
Versions: 10
Compression:
Stored size: 389 Bytes
Contents
class User < ActiveRecord::Base acts_as_approvable :on => :create, :state_field => :state def to_str login || "user-#{id}" end end class Project < ActiveRecord::Base acts_as_approvable :on => :update, :ignore => :title end class Game < ActiveRecord::Base acts_as_approvable :on => :update, :only => :title end class Employee < ActiveRecord::Base acts_as_approvable end
Version data entries
10 entries across 10 versions & 1 rubygems