Skip to content

Instantly share code, notes, and snippets.

@smathy
Last active August 29, 2015 14:14
Show Gist options
  • Save smathy/86e4aa293e63ee86d3b5 to your computer and use it in GitHub Desktop.
Save smathy/86e4aa293e63ee86d3b5 to your computer and use it in GitHub Desktop.
12:18:33 ~/work/r42 $ rails c
Loading development environment (Rails 4.2.0)
irb(main):001:0> app.foos_path
=> "/foos"
irb(main):002:0> app.foos_url
=> "http://www.example.com/foos"
irb(main):003:0>
[41] pry(main)> app.foos_path
=> "/foos"
[42] pry(main)> app.foos_url
=> "http://www.example.com/foos"
[43] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment