gregspurrier / has_enumeration

An ActiveRecord extension allowing an attribute to be treated as a symbol-based enumeration.
MIT License
13 stars 5 forks source link

give enumerated attribute objects a to_s method #2

Closed jormon closed 13 years ago

jormon commented 13 years ago

see commit comments + included test case. added the test to the spec file, not sure if this part of the code is tested via the cucumber tests.

jormon commented 13 years ago

added another diff to this pull request, i'm a git n00b so i'm not exactly sure what else you meant by "update". presumably you didn't mean rewrite the history?

thanks

gregspurrier commented 13 years ago

By update I just meant make the change I requested. No need to rewrite history.

I'll try to merge in your two pull requests tonight.