You should totes require active_record/version to access ActiveRecord::VERSION