Respect custom attribute methods in activerecord models

This is actually pull request #20 + missing spec.

Thanks to @heydiplo