aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurish Sharma <contact@gaurishsharma.com>2012-04-09 01:41:04 +0530
committerGaurish Sharma <contact@gaurishsharma.com>2012-04-09 01:41:04 +0530
commit8f25db9067b57b84b7c8654af966f97294abb655 (patch)
treee53fa978289a471a6c2608cca70dee2bb0a00569
parent2c72a4abde55c595f286defb84b37de1fdffb3a5 (diff)
downloadrails-8f25db9067b57b84b7c8654af966f97294abb655.tar.gz
rails-8f25db9067b57b84b7c8654af966f97294abb655.tar.bz2
rails-8f25db9067b57b84b7c8654af966f97294abb655.zip
Added instructions on port number
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
index f08f86aac3..ea75c9c303 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
+++ b/railties/lib/rails/generators/rails/app/templates/config/databases/postgresql.yml
@@ -24,6 +24,10 @@ development:
# domain socket that doesn't need configuration. Windows does not have
# domain sockets, so uncomment these lines.
#host: localhost
+
+ # The TCP port the server listens on; 5432 by default.
+ # Depending upon your configration, port number might be different.
+ # See your postgresql.conf file & set accordingly
#port: 5432
# Schema search path. The server defaults to $user,public