method

edit_gemfile

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ChangeGenerator
edit_gemfile() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/rails/db/system/change/change_generator.rb, line 37
          def edit_gemfile
            name, version = gem_for_database
            gsub_file("Gemfile", all_database_gems_regex, name)
            gsub_file("Gemfile", gem_entry_regex_for(name), gem_entry_for(name, *version))
          end
Register or log in to add new notes.