diff --git a/app/models/learning_object.rb b/app/models/learning_object.rb index f8d301243c221fa71db78147375e2f87ce6d9a10..66482698390b5336d4ebacad01cf18e63454dbf5 100644 --- a/app/models/learning_object.rb +++ b/app/models/learning_object.rb @@ -1,5 +1,7 @@ class LearningObject < OrientDb::LearningObjectRepository + include ActiveModel::Model + attr_accessor :id, :name, :title, :author_id, :description, :date, :exercises, :references, :supplementary_material, :license_name, :license_uri, :files