Sha256: 81f9e14974cb51aa75c41d142e00b4b753787962bff10bed1913fcd5576d9fce

Contents?: true

Size: 163 Bytes

Versions: 6

Compression:

Stored size: 163 Bytes

Contents

class Message < ActiveRecord::Base
  attr_accessible :first_name, :last_name, :subject, :body

  has_drafts :if => Proc.new { |b| self.first_name == 'Draft' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kentouzu-0.0.13 spec/dummy/app/models/message.rb
kentouzu-0.0.12 spec/dummy/app/models/message.rb
kentouzu-0.0.11 spec/dummy/app/models/message.rb
kentouzu-0.0.10 spec/dummy/app/models/message.rb
kentouzu-0.0.9 spec/dummy/app/models/message.rb
kentouzu-0.0.8 spec/dummy/app/models/message.rb