Show requests for comments and begin work on a view for executing them
This commit is contained in:
7
app/models/request_for_comment.rb
Normal file
7
app/models/request_for_comment.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class RequestForComment < ActiveRecord::Base
|
||||
before_create :set_requested_timestamp
|
||||
|
||||
def set_requested_timestamp
|
||||
self.requested_at = Time.now
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user