Skip to content

Commit

Permalink
Use HashWithIndifferentAccess
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Jul 26, 2012
1 parent fc5f26a commit 20a05db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vintner/representer.rb
Expand Up @@ -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?
Expand Down

0 comments on commit 20a05db

Please sign in to comment.