I'd like to open a PR for this -- I have the change written and ready to 
go. It's simple enough. The idea is to provide a "nice" way for going from 
an integer returned from the database
to the corresponding label defined for an enum field *without* resorting to 
hash methods. I've written up details (and the change) here:


You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to