Permalink
Browse files

Use HashWithIndifferentAccess

  • Loading branch information...
1 parent fc5f26a commit 20a05dba6481cbe91cfd96221ec1de021fc1dddc @jhchabran jhchabran committed Jul 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vintner/representer.rb
@@ -43,7 +43,7 @@ def export model
end
def import model, hash
- @representation.import(self, model, hash)
+ @representation.import(self, model, hash.with_indifferent_access)
end
def represents_model?

0 comments on commit 20a05db

Please sign in to comment.