Sha256: ef94371eeaa4297d91966d74c5f5b777f867e004a52c4dd33d7aac6c7ff372c3
Contents?: true
Size: 1.03 KB
Versions: 28
Compression:
Stored size: 1.03 KB
Contents
# Sequel Database Configuration <% if @database == "sqlite" %> development: "sqlite://db/development.sqlite3" test: "sqlite://db/test.sqlite3" production: "sqlite://db/production.sqlite3" <% elsif @database == "postgres" %> development: "postgres://<%= `whoami`.chop %>@localhost/<%= @name %>_development" test: "postgres://<%= `whoami`.chop %>@localhost/<%= @name %>_test" production: "postgres://<%= `whoami`.chop %>@localhost/<%= @name %>_production" <% elsif @database == "mysql" %> development: "mysql2://<%= `whoami`.chop %>@localhost/<%= @name %>_development" test: "mysql2://<%= `whoami`.chop %>@localhost/<%= @name %>_test" production: "mysql2://<%= `whoami`.chop %>@localhost/<%= @name %>_production" <% elsif @database == "mongo" %> development: host: localhost port: 27017 database: <%= @name %>_development username: password: test: host: localhost port: 27017 database: <%= @name %>_test username: password: production: host: localhost port: 27017 database: <%= @name %>_production username: password: <% end %>
Version data entries
28 entries across 28 versions & 5 rubygems