Skip to content
Snippets Groups Projects
Commit ae6403e4 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix bug: Wrong query to Update_Property

parent 6895825d
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ module OrientDb ...@@ -67,7 +67,7 @@ module OrientDb
def update_property(learning_object,property,value) def update_property(learning_object,property,value)
if accepted_properties.include? property if accepted_properties.include? property
connection.command "UPDATE LearningObject SET #{property}=#{value} WHERE @rid = #{learning_object.id}" connection.command "UPDATE LearningObject SET #{property}='#{value}' WHERE @rid = #{learning_object.id}"
end end
end end
......
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