rosa-build/app/models/settings_notifier.rb

19 lines
514 B
Ruby
Raw Normal View History

class SettingsNotifier < ActiveRecord::Base
2012-01-11 13:58:13 +00:00
belongs_to :user
validates :user, presence: true
2014-03-17 17:01:17 +00:00
attr_accessible :can_notify,
:update_code,
:new_comment_commit_owner,
:new_comment_commit_repo_owner,
:new_comment_commit_commentor,
:new_comment,
:new_comment_reply,
2014-03-17 17:01:17 +00:00
:new_issue,
:issue_assign,
:new_build,
:new_associated_build
2012-01-11 13:58:13 +00:00
end