def ap_geq?(version)
      # The ActionPack module is always loaded automatically in Rails >= 3
      return false unless defined?(ActionPack) && defined?(ActionPack::VERSION) &&
        defined?(ActionPack::VERSION::STRING)

      version_geq(ActionPack::VERSION::STRING, version)
    end
def ap_geq?(version)
      # The ActionPack module is always loaded automatically in Rails >= 3
      return false unless defined?(ActionPack) && defined?(ActionPack::VERSION) &&
        defined?(ActionPack::VERSION::STRING)

      version_geq(ActionPack::VERSION::STRING, version)
    end
Returns whether this environment is using ActionPack
 of a version greater than or equal to that specified.

 @param version [String] The string version number to check against.
   Should be greater than or equal to Rails 3,
   because otherwise ActionPack::VERSION isn't autoloaded
 @return [Boolean]