We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d0774bb + c058833 commit 52ef5baCopy full SHA for 52ef5ba
app/models/preference.rb
@@ -14,6 +14,8 @@ class Preference < ActiveRecord::Base
14
validates_presence_of :name, :owner_id, :owner_type
15
validates_presence_of :group_type, :if => :group_id?
16
17
+ attr_accessible :name, :group_id, :group_type
18
+
19
class << self
20
# Splits the given group into its corresponding id and type. For simple
21
# primitives, the id will be nil. For complex types, specifically
0 commit comments