Skip to content
This repository
Browse code

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
  • Loading branch information...
commit e33defcec84b6dbec958debc44b7c0fb20356a26 1 parent eda66d8
प्रथमेश authored
4  railties/lib/rails/templates/rails/welcome/index.html.erb
@@ -232,8 +232,8 @@
232 232
             </li>
233 233
 
234 234
             <li>
235  
-              <h2>Create your database</h2>
236  
-              <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>
  235
+              <h2>Configure your database</h2>
  236
+              <p>If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
237 237
             </li>
238 238
           </ol>
239 239
         </div>

0 notes on commit e33defc

Please sign in to comment.
Something went wrong with that request. Please try again.