instance method version_constraint_for_database_gem

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

version_constraint_for_database_gem()

No documentation comment.

Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 426
      def version_constraint_for_database_gem
        case options[:database]
        when "mysql"      then "~> 0.2.17"
        else nil
        end
      end

Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 426 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::AppGenerator

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close