Sha256: a5c7702016ce52b9ab794a9297191b5ae03afe19a9bc53779f4b9962c68b27ca

Contents?: true

Size: 292 Bytes

Versions: 12

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

require "rails/dev_caching"

module Rails
  module Command
    class DevCommand < Base # :nodoc:
      desc "cache", "Toggle Action Controller development mode caching on/off"
      def cache
        Rails::DevCaching.enable_by_file
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
railties-8.0.2 lib/rails/commands/dev/dev_command.rb
railties-8.0.1 lib/rails/commands/dev/dev_command.rb
railties-8.0.0.1 lib/rails/commands/dev/dev_command.rb
railties-8.0.0 lib/rails/commands/dev/dev_command.rb
railties-8.0.0.rc2 lib/rails/commands/dev/dev_command.rb
railties-8.0.0.rc1 lib/rails/commands/dev/dev_command.rb
railties-8.0.0.beta1 lib/rails/commands/dev/dev_command.rb
omg-railties-8.0.0.alpha9 lib/rails/commands/dev/dev_command.rb
omg-railties-8.0.0.alpha8 lib/rails/commands/dev/dev_command.rb
omg-railties-8.0.0.alpha7 lib/rails/commands/dev/dev_command.rb
omg-railties-8.0.0.alpha4 lib/rails/commands/dev/dev_command.rb
omg-railties-8.0.0.alpha3 lib/rails/commands/dev/dev_command.rb