سؤال

Stupid question:

I'm using Railties version 3.2.3 and wish to check which version of Rails its running exactly (what with the recent number of security issues). I've looked into the gem's code but can't seem to get a handle on it. Perhaps I'm being stupid and the rails version matches that of realties?

Either way I'd appreciate help on this.

هل كانت مفيدة؟

المحلول

Rails::VERSION::STRING returns the currently running version of Rails when used within your app.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top