aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
Commit message (Collapse)AuthorAgeFilesLines
* Use Rails to Render Default Index Pageschneems2012-12-101-7/+2
| | | | | | | | | | | | | | | This is an alternative implementation to #7771 thanks to the advice of @spastorino Rails is a dynamic framework that serves a static index.html by default. One of my first questions ever on IRC was solved by simply deleting my public/index.html file. This file is a source of confusion when starting as it over-rides any set "root" in the routes yet it itself is not listed in the routes. By making the page dynamic by default we can eliminate this confusion. This PR moves the static index page to an internal controller/route/view similar to `rails/info`. When someone starts a rails server, if no root is defined, this route will take over and the "dynamic" index page from rails/welcome_controller will be rendered. These routes are only added in development. If a developer defines a root in their routes, it automatically takes precedence over this route and will be rendered, with no deleting of files required. In addition to removing this source of confusion for new devs, we can now use Rails view helpers to build and render this page. While not the primary intent, the added value of "dogfooding" should not be under-estimated. The prior PR #7771 had push-back since it introduced developer facing files. This PR solves all of the same problems, but does not have any new developer facing files (it actually removes one). cc/ @wsouto, @dickeyxxx, @tyre, @ryanb, @josevalim, @maxim, @subdigital, @steveklabnik ATP Railties and Actionpack.
* Revert "Introduce Bundler and Gemfiles in a NOTE"Vijay Dev2012-12-081-2/+0
| | | | | | | | This reverts commit 83cb6fbd13f3c5ea3106b9a57964b1a6fb243682. Reason: very trivial [ci skip]
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-1/+1
|
* Introduce Bundler and Gemfiles in a NOTEPablo Torres2012-12-051-0/+2
|
* Define a generator before referring to itPablo Torres2012-12-041-1/+1
|
* Correct bad EnglishPablo Torres2012-12-041-2/+2
|
* added full file path in all file referencesYoni Yalovitsky2012-12-031-9/+9
| | | | | It's really comfy being able to copy-paste the file paths. I suppose there's also some benefit in trying to figure out the file name as a small exercise, but I don't think that sort of thing belongs in "Getting Started".
* removed an extra slash before the 'app' dirYoni Yalovitsky2012-12-031-1/+1
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-2/+3
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Remove 'This guide is based on ' warnings.Steve Klabnik2012-11-291-3/+0
| | | | It's obvious that the guide is based on this version of Rails, and may not be backwards compatible.
* Getting Started: Improve instructions on opening a terminalSteve Klabnik2012-11-291-1/+4
|
* Getting Started: remove reference to attr_accessibleSteve Klabnik2012-11-291-11/+0
|
* Getting Started: mac -> Mac OS XSteve Klabnik2012-11-291-1/+1
| | | | It's properly called "Mac OS X"
* Getting Started: Rails 3.2 -> Rails 4.Steve Klabnik2012-11-291-1/+1
| | | | This is based on Rails 4, not Rails 3.2.
* Set fixed-width style where appropriate on Getting Started guide.Hendy Tanata2012-11-271-2/+2
|
* Revert "Updated with where functional/helper tests go"Jason Noble2012-11-251-2/+2
| | | | | | This reverts commit c94cfdad6388dcdfaf4c10b9e8cee46baf2a7901. * This is the new 4.0 (master) directory structure
* Reword Post model to note there are lines not shownJason Noble2012-11-241-1/+2
|
* We should use post_path, not post_urlJason Noble2012-11-241-1/+1
|
* Updated with where functional/helper tests goJason Noble2012-11-241-2/+2
|
* Moved position of has_manyJason Noble2012-11-241-2/+3
|
* Added new line to make it more readableJason Noble2012-11-241-1/+2
| | | | * This shows the reader there is a method: and data: parameters
* Changed the Using Partials section to read a little betterJason Noble2012-11-241-25/+4
| | | | * No need to give a simple example, as we have a partial that we create in the blog app
* Modified "Allowing the update of fields" sectionJason Noble2012-11-241-12/+6
| | | | | | | * Rails generate model Post ______ creates the attr_accessible line for you for any fields you specify. Changed the section to describe what this line in the model does.
* Update version numbers of Ruby and RailsJason Noble2012-11-241-2/+2
|
* Updated link to RubyGems siteJason Noble2012-11-241-1/+1
|
* use em-dashes instead of two minuses in guidesburningTyger2012-11-101-5/+5
|
* Revert "divided into folder with the language"Rafael Mendonça França2012-10-171-0/+1787
| | | | | | This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository
* divided into folder with the languageRodrigo Martins2012-10-171-1787/+0
|
* Fix typos and clean up Getting Started guideJaime Iniesta2012-10-121-14/+17
|
* specify path to CommentsController again inlineTim McEwan2012-10-121-1/+1
| | | | (incorporating feedback from a newbie)
* 1.9 hash syntax for guides, work-in-progressAvnerCohen2012-10-111-44/+44
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-111-18/+25
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
| * Add /rails/info/routes method to getting_startedschneems2012-10-021-3/+3
| | | | | | | | Also fix # to $ for `rake routes` command
| * explain how to check if the server has returned on *nix systems in ↵schneems2012-10-021-1/+1
| | | | | | | | getting_started guide
| * Explain that command line commands have $schneems2012-10-021-0/+7
| | | | | | | | This was extremely confusing to new programmers, also different operating systems call the command line something different
| * change `#` to `$` in bash sectionschneems2012-10-021-1/+1
| |
| * use <url> markdown syntax instead of [url](url) [ci skip]Francesco Rodriguez2012-10-011-13/+13
| |
* | Update test locationsMike Moore2012-10-091-12/+12
|/ | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
* fix some md syntax errors and general revisions [ci skip]Vijay Dev2012-09-211-17/+16
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-211-5/+6
| | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/configurable.rb activesupport/lib/active_support/core_ext/module/deprecation.rb guides/source/action_controller_overview.md guides/source/active_support_core_extensions.md guides/source/ajax_on_rails.textile guides/source/association_basics.textile guides/source/upgrading_ruby_on_rails.md While resolving conflicts, I have chosen to ignore changes done in docrails at some places - these will be most likely 1.9 hash syntax changes.
* Fix the usage of `*` in MarkdownPrem Sichanugrist2012-09-171-2/+2
| | | | | In Textile `*` would convert to `<strong>`, but in Markdown we have to use `**` instead.
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-44/+39
|
* Convert image tags to Markdown syntaxPrem Sichanugrist2012-09-171-12/+12
|
* Convert all tables to Markdown syntaxPrem Sichanugrist2012-09-171-7/+10
|
* Convert all the links into Markdown formatPrem Sichanugrist2012-09-171-33/+33
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-212/+212
|
* change shell to bashPrem Sichanugrist2012-09-171-17/+17
|
* Convert inline code tags to MarkdownPrem Sichanugrist2012-09-171-9/+9
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-40/+52
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-164/+164
|