Added regression test for attribute definition on ruby 1.8.7
Fixed bug on ruby 1.8.7 attribute definition
Merge pull request #48 from zertico/bug_1.8.7

Added regression test for attribute definition on ruby 1.8.7