Ad
  • Custom User Avatar

    Should have gone closer to masongup's solution. Didn't know you could pass a hash to class' [] function to generate a new hash, so that would have simplified with_indifferent_access quite a bit. Case statement is better for HashWithIndifferentAccess's [] definition.