Version Number plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://source.collectiveidea.com/public/rails/plugins/version_number
You're ready to go! Anywhere in your app, you can use the constant APP_VERSION to give the version of your code.
Locally, APP_VERSION will return 'local'.
After your next deploy, the APP_VERSION on the server will return the revision reported by your source repository.
In your views, you can also use the helper method:
<%= app_version %>
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 9 months ago

