instance method enable_image_processing_gem

Ruby on Rails 7.1.6

Since v7.0.10 Last seen in v8.0.4

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4

Signature

enable_image_processing_gem()

No documentation comment.

Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 60
      def enable_image_processing_gem
        if (gemfile_path = Pathname(destination_root).join("Gemfile")).exist?
          say "Ensure image_processing gem has been enabled so image uploads will work (remember to bundle!)"
          uncomment_lines gemfile_path, /gem "image_processing"/
        end
      end

Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 60 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::Generators::InstallGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close