aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Shalaev2012-04-15 17:07:21 +0600
committerAndrew Shalaev2012-04-15 17:07:21 +0600
commit766c7137da6fd586809f911ff0ca7b8565fb0172 (patch)
treeeb6fb00415b66899b87366718f3f3fa3f4df38cb
parentc1c45bda1a67626441b0e948b0047ceef5126c0f (diff)
downloadinboxes-766c7137da6fd586809f911ff0ca7b8565fb0172.tar.bz2
fixed messages_attributes accessible
-rw-r--r--app/models/discussion.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/discussion.rb b/app/models/discussion.rb
index 463d0cc..4a0c578 100644
--- a/app/models/discussion.rb
+++ b/app/models/discussion.rb
@@ -1,7 +1,7 @@
class Discussion < ActiveRecord::Base
attr_accessor :recipient_tokens, :recipient_ids
attr_reader :recipient_ids
- attr_accessible :recipient_tokens
+ attr_accessible :recipient_tokens, :messages_attributes
# creater
has_many :messages, :dependent => :destroy