Sha256: 943aed949eb0b21de160281597cf82f43a1ee9b609bda12fb7465844bc6b1d15

Contents?: true

Size: 466 Bytes

Versions: 1

Compression:

Stored size: 466 Bytes

Contents

class Alert < ActiveRecord::Base
  
  #GEMS USED
  #ACCESSORS
  attr_accessible :event_type, :actor, :subject, :secondary_subject, :message, :link

  #ASSOCIATIONS
  belongs_to :actor,              :polymorphic => true
  belongs_to :subject,            :polymorphic => true
  belongs_to :secondary_subject,  :polymorphic => true

  #VALIDATIONS  
  #CALLBACKS  
  #QUERY SCOPES  
  #CUSTOM SCOPES  
  #SORTING SCOPES
  #OTHER STUFF
  #PRIVATE STUFF

  private
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alerts-0.0.2 generators/alerts/templates/model.rb