Try changing the generator to copy wepay_checkout_record model to app/models instead of lib/models.