diff options
| author | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-26 23:20:36 -0700 |
|---|---|---|
| committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2012-09-27 02:05:53 -0700 |
| commit | 841e4fbd08d2d642c127506001a76a973ea3d536 (patch) | |
| tree | 56a894ecdf3978bc3032daa8fae294dad897018d /app/models/issue.rb | |
| parent | 2a4359a572c123d117988487f9bb29f4ae176ceb (diff) | |
| download | gitlab-ce-841e4fbd08d2d642c127506001a76a973ea3d536.tar.gz | |
cosmetical cleanup of models
Diffstat (limited to 'app/models/issue.rb')
| -rw-r--r-- | app/models/issue.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 5e7616d6925..9acee1e5193 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -9,8 +9,7 @@ class Issue < ActiveRecord::Base belongs_to :milestone - validates :description, - length: { within: 0..2000 } + validates :description, length: { within: 0..2000 } def self.open_for(user) opened.assigned(user) @@ -32,6 +31,7 @@ class Issue < ActiveRecord::Base closed_changed? && !closed end end + # == Schema Information # # Table name: issues @@ -49,4 +49,3 @@ end # description :text # milestone_id :integer # - |
