Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
ccefc95e
Commit
ccefc95e
authored
Nov 18, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:gitlabhq/gitlabhq
parents
91d5a906
c4a575b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
14 deletions
+10
-14
app/models/issue.rb
app/models/issue.rb
+0
-5
app/models/user.rb
app/models/user.rb
+5
-4
spec/models/issue_spec.rb
spec/models/issue_spec.rb
+0
-1
spec/models/user_spec.rb
spec/models/user_spec.rb
+5
-4
No files found.
app/models/issue.rb
View file @
ccefc95e
...
@@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base
...
@@ -19,10 +19,6 @@ class Issue < ActiveRecord::Base
:presence
=>
true
,
:presence
=>
true
,
:length
=>
{
:within
=>
0
..
255
}
:length
=>
{
:within
=>
0
..
255
}
#validates :content,
#:presence => true,
#:length => { :within => 0..2000 }
scope
:critical
,
where
(
:critical
=>
true
)
scope
:critical
,
where
(
:critical
=>
true
)
scope
:non_critical
,
where
(
:critical
=>
false
)
scope
:non_critical
,
where
(
:critical
=>
false
)
...
@@ -46,7 +42,6 @@ end
...
@@ -46,7 +42,6 @@ end
#
#
# id :integer not null, primary key
# id :integer not null, primary key
# title :string(255)
# title :string(255)
# content :text
# assignee_id :integer
# assignee_id :integer
# author_id :integer
# author_id :integer
# project_id :integer
# project_id :integer
...
...
app/models/user.rb
View file @
ccefc95e
...
@@ -64,9 +64,10 @@ end
...
@@ -64,9 +64,10 @@ end
# updated_at :datetime
# updated_at :datetime
# name :string(255)
# name :string(255)
# admin :boolean default(FALSE), not null
# admin :boolean default(FALSE), not null
# projects_limit :integer
# projects_limit :integer default(10)
# skype :string
# skype :string(255) default(""), not null
# linkedin :string
# linkedin :string(255) default(""), not null
# twitter :string
# twitter :string(255) default(""), not null
# authentication_token :string(255)
#
#
spec/models/issue_spec.rb
View file @
ccefc95e
...
@@ -31,7 +31,6 @@ end
...
@@ -31,7 +31,6 @@ end
#
#
# id :integer not null, primary key
# id :integer not null, primary key
# title :string(255)
# title :string(255)
# content :text
# assignee_id :integer
# assignee_id :integer
# author_id :integer
# author_id :integer
# project_id :integer
# project_id :integer
...
...
spec/models/user_spec.rb
View file @
ccefc95e
...
@@ -58,9 +58,10 @@ end
...
@@ -58,9 +58,10 @@ end
# updated_at :datetime
# updated_at :datetime
# name :string(255)
# name :string(255)
# admin :boolean default(FALSE), not null
# admin :boolean default(FALSE), not null
# projects_limit :integer
# projects_limit :integer default(10)
# skype :string
# skype :string(255) default(""), not null
# linkedin :string
# linkedin :string(255) default(""), not null
# twitter :string
# twitter :string(255) default(""), not null
# authentication_token :string(255)
#
#
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment