Quick howto on accessing Rails Properties

programming, tech

When you create a new Rails app the default static page (public/index.html) page shows a lot of details about the app. Here’s a quick how-to show these details (the idea is to probably show these on a /ping route (or a debug parameter on any page maybe) – so you can quickly monitor your app – it’s state, active_record state etc.).

Rails 3: browse the source-code at railties/lib/rails/info.rb

Or see:

Rails 2: browse the source-code at railties/builtin/rails_info/rails/info.rb

Or see:

Till the next time…

Add the first comment

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>