Closed ceg1236 closed 4 years ago
A model for PaymentAccepted needs to be created. It should follow the Open Referral specification.
Here's a diagram for reference.
Start with a rails g scaffold PaymentAccepted field:type ... and fill out the generated files.
rails g scaffold PaymentAccepted field:type ...
Requirements:
null: false
ActiveRecord
Make sure to run a rake db:migrate after finishing your migration in order to update the db/schema.rb file.
rake db:migrate
db/schema.rb
A model for PaymentAccepted needs to be created. It should follow the Open Referral specification.
Here's a diagram for reference.
Start with a
rails g scaffold PaymentAccepted field:type ...
and fill out the generated files.Requirements:
null: false
ActiveRecord
associationsMake sure to run a
rake db:migrate
after finishing your migration in order to update thedb/schema.rb
file.