mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
6 lines
168 B
Ruby
6 lines
168 B
Ruby
class Note < ApplicationRecord
|
|
belongs_to :user
|
|
belongs_to :project
|
|
|
|
scope :with_body, lambda { |terms| where("body " + Common.like_operator + " ?", terms) }
|
|
end
|