Fix for #110

...ags in ActiveRecord generation, fixes #110