aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/generator/templates/app/config/databases/frontbase.yml
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-06-16 15:57:14 +0200
committerJosé Valim <jose.valim@gmail.com>2009-06-19 16:10:42 +0200
commit720aceeea9083e8139e06be5aaaa3b9db98f344d (patch)
tree4b44f95f49acd087decf68d4e5a22cfab607356f /railties/lib/generator/templates/app/config/databases/frontbase.yml
parentced68c7430216424419ecb4525d3bc6b6847f9c6 (diff)
downloadrails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.gz
rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.bz2
rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.zip
Send new files too.
Diffstat (limited to 'railties/lib/generator/templates/app/config/databases/frontbase.yml')
-rw-r--r--railties/lib/generator/templates/app/config/databases/frontbase.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/railties/lib/generator/templates/app/config/databases/frontbase.yml b/railties/lib/generator/templates/app/config/databases/frontbase.yml
new file mode 100644
index 0000000000..c0c3588be1
--- /dev/null
+++ b/railties/lib/generator/templates/app/config/databases/frontbase.yml
@@ -0,0 +1,28 @@
+# FrontBase versions 4.x
+#
+# Get the bindings:
+# gem install ruby-frontbase
+
+development:
+ adapter: frontbase
+ host: localhost
+ database: <%= app_name %>_development
+ username: <%= app_name %>
+ password: ''
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: frontbase
+ host: localhost
+ database: <%= app_name %>_test
+ username: <%= app_name %>
+ password: ''
+
+production:
+ adapter: frontbase
+ host: localhost
+ database: <%= app_name %>_production
+ username: <%= app_name %>
+ password: ''