brainspec/enumerize — pull request #41 by ukstv (2012-10-21 18:15:02+00:00)
Title: Changed the way attribute method is called in the generated code

I had a model with a field called 'when'. Current implementation generates such a code `when && when.text`. As long as `when` is a Ruby keyword, the code is not valid. I've changed this to generate `self.when && self.when.text`.