Skip to content

Commit 52ef5ba

Browse files
committed
Merge pull request #1 from SocialWOD/master
Rails 4 Upgrade
2 parents d0774bb + c058833 commit 52ef5ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/models/preference.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class Preference < ActiveRecord::Base
1414
validates_presence_of :name, :owner_id, :owner_type
1515
validates_presence_of :group_type, :if => :group_id?
1616

17+
attr_accessible :name, :group_id, :group_type
18+
1719
class << self
1820
# Splits the given group into its corresponding id and type. For simple
1921
# primitives, the id will be nil. For complex types, specifically

0 commit comments

Comments
 (0)