aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_application_templates.md
Commit message (Collapse)AuthorAgeFilesLines
* update example url for add_sourceultrawebmarketing2019-07-081-2/+2
| | | http://code.whytheluckystiff.net is now just a spam site. Use http://gems.github.com as an example instead.
* Abort early if generator command fails (#34420)David Rodríguez2018-12-071-0/+6
| | | | | | | | | | | | | | | | * No need to go through ruby * Abort early if a generator command fails * Reuse `rails_command` method * Bump thor minimum dependency to 0.20.3 * Add some minimal docs * Add a changelog entry * Restore original logging
* Merge pull request #33229 from ↵Matthew Draper2018-07-251-6/+6
|\ | | | | | | | | albertoalmagro/albertoalmagro/prefer-rails-command-over-bin-rails Prefer rails command over bin/rails
| * Substitute references to task for commandAlberto Almagro2018-07-061-4/+4
| | | | | | | | This commit substitutes references to rails/rake task for rails command
| * Recommend use of rails over bin/railsAlberto Almagro2018-07-061-2/+2
| | | | | | | | | | | | | | | | | | As discussed in #33203 rails command already looks for, and runs, bin/rails if it is present. We were mixing recommendations within guides and USAGE guidelines, in some files we recommended using rails, in others bin/rails and in some cases we even had both options mixed together.
* | Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
|/ | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Define path with __dir__bogdanvlviv2017-05-231-1/+1
| | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* Add tick marks + small grammar changeJon Moss2016-05-171-2/+2
| | | | [ci skip]
* The tasks in the rails task namespace is deprecated in favor of app namespace.Ryo Hashimoto2016-02-261-3/+3
| | | | (e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
* AppGenerator: Replace 'rake' with 'rails_command'claudiob2016-02-201-8/+14
| | | | | | | | | | | Since Rails 5.0 is switching the Rails command line from 'rake …' to 'rails …', it makes sense to also replace the `rake` method in the Rails templates API. Based on feedback from @matthewd and @kaspth, I chose to replace `rake` with `rails_command`, which is less confusing than the alternatives `rails` or `command` or `rails_run` and is not Thor-reserved word like `task`.
* - Changed from bin/rake to bin/rails at more application places.Vipul A M2016-01-201-2/+2
| | | | | | | - Only ones left are from the upgrading guide, and command line guide explicit section about rake Follow up of https://github.com/rails/rails/pull/23119 [ci skip]
* add description of passing a block to `add_source` [ci skip]yuuji.yaginuma2015-09-101-1/+9
| | | | block support added in 8cc01e0b2bfa75a613720c535d34e451f5de769c
* Fixed typos in guidemanish-shrivastava2015-06-011-1/+1
|
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Merge pull request #16359 from skanev/after-bundle-in-rails-templatesYves Senn2014-08-061-3/+21
|\ | | | | | | | | | | | | Add an after_bundle callback in Rails templates Conflicts: railties/CHANGELOG.md
| * Add an after_bundle callback in Rails templatesStefan Kanev2014-08-031-3/+21
|/ | | | | | The template runs before the generation of binstubs – this does not allow to write one, that makes an initial commit to version control. It is solvable by adding an after_bundle callback.
* Use generated binstubs in guides examples.Josef Šimánek2014-05-201-2/+2
| | | | [ci skip]
* Remove the link for code.whytheluckystiff.netRafael Mendonça França2013-12-161-1/+1
| | | | | This is not a valid URL. [ci skip]
* Fix url leak in application templates guideJacob Evan Shreve2013-12-161-1/+1
| | | Encapsulate url that was including the trailing quote and colon.
* cleans the guides sources from fancy non-ASCII stuffXavier Noria2013-08-231-5/+5
|
* explain how to extend application templates. [ci skip]Yves Senn2013-07-051-0/+19
|
* Fixed quotes in environment example in Rails Application Templates guide.Dan Erikson2013-05-271-1/+1
|
* GrammarJonathan Roes2013-04-051-11/+11
|
* we don't have public/index.html anymoreAkira Matsuda2013-01-041-4/+3
|
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-2/+2
|
* Normalize on 'After reading this guide, you will know:'Steve Klabnik2012-11-291-1/+1
| | | | | We have three or four different introduction sentences to the guides. After this commit, we use the same one everywhere.
* Add periods to the bullet points in guides.Steve Klabnik2012-11-291-2/+2
| | | | Talked with @fxn about this. Bullet points should have periods at the ends.
* copy edits and fixes [ci skip]Vijay Dev2012-11-171-1/+1
|
* Remove unnecessary whitespaceAgis Anastasopoulos2012-11-161-1/+1
|
* Switch to 1.9 hash syntax (guides)Agis Anastasopoulos2012-11-161-8/+8
|
* Update guides/source/rails_application_templates.mdWill Gray2012-11-091-0/+12
| | | Add `#environment`
* Update guides/source/rails_application_templates.mdWill Gray2012-11-091-3/+3
| | | Update function signatures for `#gem` and `#generate`.
* Fix remaining formatting problems in the guidePrem Sichanugrist2012-09-171-13/+13
|
* Convert all inline codes to Markdown syntaxPrem Sichanugrist2012-09-171-16/+16
|
* change shell to bashPrem Sichanugrist2012-09-171-2/+2
|
* Convert heading tags and heading sectionPrem Sichanugrist2012-09-171-17/+20
|
* Convert code blocks into GFM stylePrem Sichanugrist2012-09-171-38/+38
|
* Rename the rest of the guides to MarkdownPrem Sichanugrist2012-09-171-0/+215