class Tasks
Public Instance Methods
active()
click to toggle source
# File lib/minder/database/tasks.rb, line 6 def active where(completed_at: nil) end
by_id(id)
click to toggle source
# File lib/minder/database/tasks.rb, line 10 def by_id(id) where(id: id) end
filtered_by(text)
click to toggle source
# File lib/minder/database/tasks.rb, line 2 def filtered_by(text) where("description LIKE '%#{text}%'") end