fix hash sort exception
update active_record instantiated_hash to default to {} instead of nil
Merge pull request #23 from gabecoyne/master

Update active_record instantiated_hash to default to {} instead of nil