Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1615684
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
Sun, Mar 22, 2:46 AM
Size
284 B
Mime Type
text/x-c++
Expires
Tue, Mar 24, 2:46 AM (3 h, 1 m)
Engine
blob
Format
Raw Data
Handle
354534
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