sql for mysql compatible
This commit is contained in:
parent
9b6c9fe253
commit
fc36df92da
3 changed files with 2 additions and 13 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue