diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 16:11:45 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 16:11:45 +0400 |
commit | 98ba075c327c20f84bb465907ff1d954538e0e39 (patch) | |
tree | 57d51d81209c14dc8cb4307aedeed2b40ed99949 /app/models/event.rb | |
parent | 3a21c904dda9aa9c701675ccc6d1c15b20a745b3 (diff) |
User model to strong params. Comment other attr_accessible to let tests run
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/event.rb')
-rw-r--r-- | app/models/event.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/event.rb b/app/models/event.rb index 1a8d55c54b4..487ea7666e5 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -15,8 +15,8 @@ # class Event < ActiveRecord::Base - attr_accessible :project, :action, :data, :author_id, :project_id, - :target_id, :target_type + #attr_accessible :project, :action, :data, :author_id, :project_id, + #:target_id, :target_type default_scope { where.not(author_id: nil) } |