diff options
author | Valery Sizov <vsv2711@gmail.com> | 2012-01-19 23:44:10 +0400 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2012-01-19 23:44:10 +0400 |
commit | fc36df92da61ff11def791023f894da0c8fec0b2 (patch) | |
tree | dab9b1d8e345ed2a1038d35f5d800a8b37de457e /app | |
parent | 9b6c9fe25389b2f4c4a3d0ca8f2b30991a4e2c30 (diff) |
sql for mysql compatible
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 6650ccba224..e1c66c95a23 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -171,7 +171,7 @@ class Project < ActiveRecord::Base end def commit_line_notes(commit) - notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code not null") + notes.where(:noteable_id => commit.id, :noteable_type => "Commit").where("line_code is not null") end def has_commits? |