Viewing your models:
$ rails console // open up the Rails console
2.1.5 (main):0 > show-models // show all models
Account
id: integer
created_at: datetime
updated_at: datetime
belongs_to :user
Micropost
id: integer
...
2.1.5 (main):0 > show-model User // show just the User model
User
id: integer
name: string
email: string
...
Viewing your routes:
2.1.5 (main):0 > show-routes --grep charges
charges GET /charges(.:format) charges#index
POST /charges(.:format) charges#create
new_charge GET /charges/new(.:format) charges#new
edit_charge GET /charges/:id/edit(.:format) charges#edit
charge GET /charges/:id(.:format) charges#show
PATCH /charges/:id(.:format) charges#update
PUT /charges/:id(.:format) charges#update
DELETE /charges/:id(.:format) charges#destroy
Learn more about Pry here.