project dashboard
This commit is contained in:
parent
5a5845e490
commit
c29b49de66
5 changed files with 69 additions and 13 deletions
|
@ -22,6 +22,8 @@ class Note < ActiveRecord::Base
|
|||
|
||||
scope :common, where(:noteable_id => nil)
|
||||
|
||||
scope :last_week, where("created_at >= :date", :date => (Date.today - 7.days))
|
||||
|
||||
mount_uploader :attachment, AttachmentUploader
|
||||
end
|
||||
# == Schema Information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue