This commit is contained in:
mmoser committed 2015-09-20 13:26:45 -05:00
1 parent f8c03d6f5c
commit 692446b97b
25 files changed
+283 -13

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
class Page < ActiveRecord::Base
belongs_to :user, class_name: Person
belongs_to :person
scope :last_ten, -> { order(updated_at: :desc).limit(10) }
end