2012-05-02 10:18:07 +01:00
|
|
|
class SettingsNotifier < ActiveRecord::Base
|
2012-01-11 13:58:13 +00:00
|
|
|
belongs_to :user
|
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
validates :user_id, presence: true
|
2014-03-14 22:54:04 +00:00
|
|
|
|
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,
|
|
|
|
:new_issue,
|
|
|
|
:issue_assign,
|
|
|
|
:new_build,
|
|
|
|
:new_associated_build
|
|
|
|
|
2012-01-11 13:58:13 +00:00
|
|
|
end
|