aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* use rails favicon.ico instead or ruby favicon.ico for rails guidesJohn Krueger2015-02-061-0/+0
|
* Add link to the show action in the getting startedRafael Mendonça França2015-02-061-0/+1
| | | | | | [ci skip] Closes #16538
* Remove documentation tasksXavier Noria2015-02-062-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the tasks doc:app, doc:rails, and doc:guides. In our experience applications do not generate APIs using doc:app. Methods may be certainly documented for maintainers, annotated with YARD tags, etc. but that is intended to be read with the source code, not in a separate website. Then, teams also have typically selected topics written down in Markdown files, or in a GitHub wiki... that kind of thing. If a team absolutely needs to generate application documentation for internal purposes, they can still easily write their own task. Regarding doc:rails and doc:guides, we live in 2015. We are used to go to online docs all the time. If you really want access to the API offline RubyGems generates it for every Rails component unless you tell it not to, and you can checkout the Rails source code to read the guides as Markdown, or download them for a Kindle reader. All in all, maintaining this code does not seem to be worthwhile anymore. As a consequence of this, guides (+3 MB uncompressed) won't be distributed with the rails gem anymore. Of course, guides and API are going to be still part of releases, since documentation is maintained alongside code and tests. Also, time permitting, this will allow us to experiment with novel ways to generate documentation in the Rails docs server, since right now we were constrained by being able to generate them in the user's environment.
* Merge pull request #18771 from kirs/deprecate-xhrRafael Mendonça França2015-02-051-2/+2
|\ | | | | Migrating xhr methods to keyword arguments syntax
| * Migrating xhr methods to keyword arguments syntaxKir Shatrov2015-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | in `ActionController::TestCase` and `ActionDispatch::Integration` Old syntax: `xhr :get, :create, params: { id: 1 }` New syntax example: `get :create, params: { id: 1 }, xhr: true`
* | load "rack/test" before "action_controller/railtie" in bug report templates ↵yuuji.yaginuma2015-02-051-1/+1
| | | | | | | | [ci skip]
* | revert 539d929b7b32302afe548e4cb06b5f4dd56e9942 [ci skip]Abdelkader Boudih2015-02-041-1/+1
| |
* | Fix typo in Creating and Customizing Rails Generators & Templates guidesYasuhiko Katoh (y@su)2015-02-041-1/+1
| |
* | Merge pull request #18801 from andreynering/fix-js-linkEileen M. Uchitelle2015-02-031-1/+1
|\ \ | | | | | | Fix link [ci skip]
| * | Fix link [ci skip]Andrey Nering2015-02-031-1/+1
| | |
* | | [ci skip]James T. Perreault2015-02-031-1/+1
|/ / | | | | | | improve sentence flow with grammar change
* | Fix a typo in autoloading doc and note on autoload_paths [ci skip]jafrog2015-02-021-1/+2
| |
* | Use Module#include instead of send :include, since now is a public method ↵robertomiranda2015-01-311-1/+1
| | | | | | | | | | | | [ci skip] ref https://bugs.ruby-lang.org/issues/8846
* | Merge pull request #18753 from andreynering/guide-single-table-inheritanceRobin Dupret2015-01-312-0/+68
|\ \ | | | | | | Add Single Table Inheritance to guides [ci skip]
| * | Add Single Table Inheritance to guides [ci skip]Andrey Nering2015-01-312-0/+68
| |/
* | Merge pull request #18540 from andreynering/guides-custom-form-builderRobin Dupret2015-01-311-1/+8
|\ \ | |/ |/| Improving 'Customizing Form Builder' section with example [ci skip]
| * Improving 'Customizing Form Builder' section with example [ci skip]Andrey Nering2015-01-161-1/+8
| |
* | Merge pull request #18736 from nonsensery/autoload-guide-grammar-fixYves Senn2015-01-301-1/+1
|\ \ | | | | | | Fix grammar in Qualified Constants section [ci skip]
| * | Fix grammar in Qualified Constants sectionAlex Johnson2015-01-291-1/+1
| | | | | | | | | | | | | | | New wording is based on the "cref" sentence earlier in the section. [ci skip]
* | | Merge pull request #18734 from andreynering/docs-dumpingRafael Mendonça França2015-01-291-5/+10
|\ \ \ | | | | | | | | Improvements about schema dumping [ci skip]
| * | | Improvements about schema dumping [ci skip]Andrey Nering2015-01-291-5/+10
| |/ /
* / / Doc: run bundle update after cloning Rails.Brian Morearty2015-01-291-0/+8
|/ /
* | Consistent usage of spaces in hashes across our codebaseRafael Mendonça França2015-01-291-8/+8
| |
* | Use fixed fonts only in the name of the parameterRafael Mendonça França2015-01-291-3/+3
| |
* | Switch to kwargs in ActionController::TestCase and ActionDispatch::IntegrationKir Shatrov2015-01-291-18/+27
| | | | | | | | | | | | | | | | Non-kwargs requests are deprecated now. Guides are updated as well. `post url, nil, nil, { a: 'b' }` doesn't make sense. `post url, params: { y: x }, session: { a: 'b' }` would be an explicit way to do the same
* | Fix typo on guide name [ci skip]Andrey Nering2015-01-271-1/+1
| |
* | remove trailing whitespace. [ci skip]Yves Senn2015-01-251-1/+1
| |
* | Add tip for running binstubs on Windows [ci skip]Bryan Bibat2015-01-251-0/+3
| | | | | | | | | | | | | | The default command prompt under Windows doesn't run binstubs correctly while PowerShell needs to find the location of the Ruby interpreter for it to work properly. Passing the binstubs manually to the interpreter solves this problem.
* | [ci skip] Fix what is pushed to nesting about eval familyyui-knk2015-01-241-2/+3
| |
* | constants guide: make assumption explicit in an example [closes #18465] [ci ↵Xavier Noria2015-01-231-0/+10
| | | | | | | | skip]
* | fix regexp for validate an integer in guides [ci skip]yuuji.yaginuma2015-01-221-1/+1
| |
* | Add :formats to options list of render documentation.Diogo Benicá2015-01-211-1/+11
| |
* | Merge pull request #18322 from morgoth/add-error-codesRafael Mendonça França2015-01-211-2/+56
|\ \ | | | | | | Add ActiveModel::Errors#codes
| * | Add ActiveModel::Errors#detailsWojciech Wnętrzak2015-01-201-2/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to return type of validator, one can now call `details` on Errors instance: ```ruby class User < ActiveRecord::Base validates :name, presence: true end ``` ```ruby user = User.new; user.valid?; user.errors.details => {name: [{error: :blank}]} ```
* | | Fix test case class in the testing guide [ci skip]Rafael Mendonça França2015-01-211-1/+1
| | |
* | | Add missing options to Error Message Interpolation guide [CI skip]Wojciech Wnętrzak2015-01-211-1/+2
|/ /
* | Use force: true options for creating tables in bug templatesPrathamesh Sonpatki2015-01-192-4/+4
| | | | | | | | | | | | | | - Generally we have to run the bug templates multiple times to get them right and it always complains because the posts and comments tables already exist due to earlier runs. - Using force: true will eliminate this issue.
* | Merge pull request #18576 from yui-knk/fix/autoload4Santiago Pastorino2015-01-181-3/+2
|\ \ | | | | | | [ci skip] Move a introduction of `Module.nesting`
| * | [ci skip] Move a introduction of `Module.nesting`yui-knk2015-01-181-3/+2
| | | | | | | | | | | | | | | Move a introduction of `Module.nesting` to the beginning of sentence. This change will help reader to try to dump `nesting`.
* | | remove reference to `Logger` core extensions from guide [ci skip]yuuji.yaginuma2015-01-181-44/+0
| | |
* | | [ci skip] fix positions of parenthesesyui-knk2015-01-181-5/+5
|/ /
* | Merge pull request #18568 from vipulnsward/removed-deprecated-methods-from-docsZachary Scott2015-01-171-18/+2
|\ \ | | | | | | Removed documentation of deprecated removed methods
| * | Removed documentation of deprecated removed methods [ci skip]Vipul A M2015-01-171-18/+2
| | |
* | | [ci skip] Change to the passive voiceyui-knk2015-01-171-1/+1
|/ /
* | Merge pull request #18493 from twoller/masterYves Senn2015-01-172-10/+10
|\ \ | | | | | | Consistent anchor text in nav links, new image [ci skip]
| * | Use consistent anchor text throughout the guide.Toby Woller2015-01-152-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates. Use consistent anchor text throughout the guide. Change all of anchor text in the nav links to `Back` and `Edit` Use `Edit | Back` on pages that use both links to conform to what scaffolding generates.
* | | Fixed extraneous quotingOge Nnadi2015-01-161-1/+1
| | |
* | | Typo fixOge Nnadi2015-01-161-1/+1
| | |
* | | Underscore typo [ci skip]Jared Fine2015-01-161-1/+1
| | |
* | | Adding tip about jQuery UJS [ci skip]Andrey Nering2015-01-151-0/+3
| |/ |/| | | | | Reference #18533