ruby and activerecord without rails