diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-07-20 12:21:09 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-07-20 20:22:09 +0530 |
commit | e33defcec84b6dbec958debc44b7c0fb20356a26 (patch) | |
tree | ba917e5f394fc5671f64a971083a5ca2ceb53dd6 /railties/lib | |
parent | eda66d89c74cd573f5c0f24877fe9bf3c6a338ba (diff) | |
download | rails-e33defcec84b6dbec958debc44b7c0fb20356a26.tar.gz rails-e33defcec84b6dbec958debc44b7c0fb20356a26.tar.bz2 rails-e33defcec84b6dbec958debc44b7c0fb20356a26.zip |
Removed information about creating database[ci skip]
- As default index page is no longer in public folder, rails hits the
welcome controller in railties for index action
- If the database is not created or username and password are
incorrect in database.yml, those errors are first shown before index
action succeeds
- welcome#index succeeds iff the database is created with correct
details in database.yml
- So this information about creating database is not required in the
index template
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/templates/rails/welcome/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/templates/rails/welcome/index.html.erb b/railties/lib/rails/templates/rails/welcome/index.html.erb index 4c4c80ecda..eb620caa00 100644 --- a/railties/lib/rails/templates/rails/welcome/index.html.erb +++ b/railties/lib/rails/templates/rails/welcome/index.html.erb @@ -232,8 +232,8 @@ </li> <li> - <h2>Create your database</h2> - <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p> + <h2>Configure your database</h2> + <p>If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p> </li> </ol> </div> |