Quick Rails Tip (Environment Info)

Posted by tieg Mon, 31 Jul 2006 00:41:00 GMT

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:

  1. 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:

  1. http://localhost:3000/rails/info/properties
Comments

Leave a response

Comments