Skip to content
Snippets Groups Projects
Commit c86ceb6c authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

adding id property for complaint model

parent f8f2559f
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ class Complaint
include ActiveModel::Model
include OrientDbSerializable
attr_accessor :user, :object, :message, :description, :created_at
attr_accessor :id, :user, :object, :message, :description, :created_at
validates_presence_of :user, :object, :message, :created_at
def initialize(params={})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment