instance method create_database_configuration_file

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18 Private

Signature

create_database_configuration_file(m)

No documentation comment.

Parameters

m req
Source
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 170
    def create_database_configuration_file(m)
      m.template "configs/databases/#{options[:db]}.yml", "config/database.yml", :assigns => {
        :app_name => @app_name,
        :socket   => options[:db] == "mysql" ? mysql_socket_location : nil }
    end

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

Defined in AppGenerator

Type at least 2 characters to search.

↑↓ navigate · open · esc close