fix problem with activerecord-tableless