In Rails, we often declare an enum to predefine the value set for the column in a database. But, have you ever thought about how Rails does its magic behind the curtain? Let’s uncover this secret in ...
When I retrieve a profile (shown below) from the profiles table you will notice that the 2 enumerated arrays lookingForCountries and lookingForReligions haven't been converted to javascript arrays, ...