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