generators/alerts/templates/model.rb in alerts-0.0.1 vs generators/alerts/templates/model.rb in alerts-0.0.2

- old
+ new

@@ -1,5 +1,22 @@ 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 -end + + #VALIDATIONS + #CALLBACKS + #QUERY SCOPES + #CUSTOM SCOPES + #SORTING SCOPES + #OTHER STUFF + #PRIVATE STUFF + + private + +end \ No newline at end of file