albertosaurus/enumerations_mixin — pull request #11 by greyblake (2012-07-07 18:57:25+00:00)
Title: Do not override `name` method.

When I have an enumerated model with column `name` and option `:name_column => :something_other` I can't access value of `name` since it returns value of `something_other`.
This patch fixes the issue. I also write a spec. Sorry for removed trailing spaces.