Plugins - Version Number
Add to favoritesVersion number gives you an easy way to get the Subversion revision number in your apps.
It has a Capistrano hook (automatically installed) to save the SVN revision on each deploy.
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 %>
Daniel Morrison, Collective Idea
http://source.collectiveidea.com/public/rails/plugins/version_number
http://source.collectiveidea.com/public/rails/plugins/version_number
Rails' (MIT)
Misc. Enhancements
