Add find_by_hex_xxx to ActiveRecord model class