wip
This commit is contained in:
6
app/models/page.rb
Normal file
6
app/models/page.rb
Normal 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
|
Reference in New Issue
Block a user