Skip to content

Instantly share code, notes, and snippets.

@CodePint
Created May 21, 2018 11:27
Show Gist options
  • Save CodePint/ac5f9d0081694fefdf021b4caed949c0 to your computer and use it in GitHub Desktop.
Save CodePint/ac5f9d0081694fefdf021b4caed949c0 to your computer and use it in GitHub Desktop.
[16] pry(#<RSpec::ExampleGroups::GymsController::POSTCreate>)> Gym.create!(gym_name: "Stronghold gym", about: "Brand new bouldering gym in Tottenham Hale", address: "Tottenham Hale, London", email: "stronghold@gmail.com" )
=> #<Gym:0x00000005caf670
id: 1,
routes_id: nil,
gym_name: "Stronghold gym",
about: "Brand new bouldering gym in Tottenham Hale",
address: "Tottenham Hale, London",
email: "stronghold@gmail.com",
created_at: Mon, 21 May 2018 11:26:25 UTC +00:00,
updated_at: Mon, 21 May 2018 11:26:25 UTC +00:00,
route_setter_list: nil,
gym_owner_list: nil>
[17] pry(#<RSpec::ExampleGroups::GymsController::POSTCreate>)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment