Quick Rails Tip (Environment Info)
If you’re switching between applications and can’t remember to which Rails version you’re frozen or on which migration you are, use the Rails Info module:
- Rails::Info
And that should output all the important environment info.
Or, like the ‘public/index.html’ file, you can browse to the Rails::InfoController like so:
- http://localhost:3000/rails/info/properties