Sha256: e52a73bf72001b105f5d63351a67645805929a06abbdb0170b0e542460429a68

Contents?: true

Size: 348 Bytes

Versions: 121

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require "rails/dev_caching"

module Rails
  module Command
    class DevCommand < Base # :nodoc:
      no_commands do
        def help
          say "rails dev:cache # Toggle development mode caching on/off."
        end
      end

      def cache
        Rails::DevCaching.enable_by_file
      end
    end
  end
end

Version data entries

121 entries across 114 versions & 11 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/railties-7.0.8.6/lib/rails/commands/dev/dev_command.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/railties-7.0.8.7/lib/rails/commands/dev/dev_command.rb
railties-7.0.8.7 lib/rails/commands/dev/dev_command.rb
railties-7.0.8.6 lib/rails/commands/dev/dev_command.rb
railties-6.1.7.10 lib/rails/commands/dev/dev_command.rb
railties-6.1.7.9 lib/rails/commands/dev/dev_command.rb
railties-7.0.8.5 lib/rails/commands/dev/dev_command.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.0.8.4/lib/rails/commands/dev/dev_command.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/commands/dev/dev_command.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/commands/dev/dev_command.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/commands/dev/dev_command.rb
railties-7.0.8.4 lib/rails/commands/dev/dev_command.rb
railties-6.1.7.8 lib/rails/commands/dev/dev_command.rb
railties-7.0.8.1 lib/rails/commands/dev/dev_command.rb
railties-6.1.7.7 lib/rails/commands/dev/dev_command.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/commands/dev/dev_command.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/commands/dev/dev_command.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/commands/dev/dev_command.rb
railties-7.0.8 lib/rails/commands/dev/dev_command.rb
railties-7.0.7.2 lib/rails/commands/dev/dev_command.rb