module ActiveRecord # Returns the version of the currently loaded ActiveRecord as a Gem::Version def self.version Gem::Version.new "4.0.1.rc3" end module VERSION #:nodoc: MAJOR, MINOR, TINY, PRE = ActiveRecord.version.segments STRING = ActiveRecord.version.to_s end end