mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01: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
|