Permit auto_html_for on an attribute that's not in the DB. #59

Merged
merged 1 commit into from Dec 18, 2013

Projects

None yet

3 participants

@schustafa

This makes it possible to declare an aliased attribute in your model, then call auto_html_for with a different set of options.

This used to work in an older version (1.3.x), but I noticed it failing when I updated this gem in an app.

@schustafa schustafa Permit auto_html_for on an attribute that's not in the DB.
This makes it possible to declare an aliased attribute in your model, then call auto_html_for with a different set of options.
ada2cad
@d-lebed

+1 Also need this feature

@dejan dejan merged commit c49975d into dejan:master Dec 18, 2013

1 check passed

Details default The Travis build passed
@dejan
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment