mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-29 16:37:20 +02:00
6 lines
145 B
Ruby
6 lines
145 B
Ruby
class Note < ActiveRecord::Base
|
|
belongs_to :user
|
|
belongs_to :project
|
|
|
|
scope :with_body, lambda { |terms| where("body LIKE ?", terms) }
|
|
end
|