mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 09:43:24 -04:00
6 lines
142 B
Ruby
6 lines
142 B
Ruby
class Update < ActiveRecord::Base
|
|
attr_accessible :body, :subject, :user_id
|
|
belongs_to :user
|
|
default_scope order("created_at desc")
|
|
end
|