Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F449220
subscription.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Apr 24, 4:33 PM
Size
284 B
Mime Type
text/x-c++
Expires
Sat, Apr 26, 4:33 PM (1 d, 18 h)
Engine
blob
Format
Raw Data
Handle
212462
Attached To
rWEBDNS WebDNS (edet4)
subscription.rb
View Options
class
Subscription
<
ActiveRecord
::
Base
belongs_to
:domain
belongs_to
:user
validates_presence_of
:domain
validates_presence_of
:user
validates_uniqueness_of
:domain_id
,
scope
:
:user_id
# opt-out only
validates
:disabled
,
inclusion
:
{
in
:
[
true
]
},
presence
:
true
end
Event Timeline
Log In to Comment