diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 18:00:05 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-26 18:00:05 +0400 |
commit | cb74c014ea6d27314143ffd4975717b1acee607a (patch) | |
tree | 0af860105a079095ef6302c5600bdcb69b4d7761 /app/models/key.rb | |
parent | 8f60b5b4fc9c4bc5c4e727a90b6e03acbbe70d54 (diff) |
Key strong params
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/key.rb')
-rw-r--r-- | app/models/key.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/key.rb b/app/models/key.rb index 035c9efa016..d59993b1905 100644 --- a/app/models/key.rb +++ b/app/models/key.rb @@ -19,8 +19,6 @@ class Key < ActiveRecord::Base belongs_to :user - attr_accessible :key, :title - before_validation :strip_white_space, :generate_fingerpint validates :title, presence: true, length: { within: 0..255 } |