Apr 23, 2011

How to get Rails version

You can refer to


Rails::VERSION::STRING


It will return a version as string, e.g., 3.0.3