Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adding subsection on 'upgrading' guide about 4.2 foreign key support [ci skip] | Andrey Nering | 2015-02-10 | 1 | -0/+14 |
| | |||||
* | Add link to the show action in the getting started | Rafael Mendonça França | 2015-02-06 | 1 | -0/+1 |
| | | | | | | [ci skip] Closes #16538 | ||||
* | Remove documentation tasks | Xavier Noria | 2015-02-06 | 2 | -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-xhr | Rafael Mendonça França | 2015-02-05 | 1 | -2/+2 |
|\ | | | | | Migrating xhr methods to keyword arguments syntax | ||||
| * | Migrating xhr methods to keyword arguments syntax | Kir Shatrov | 2015-02-01 | 1 | -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` | ||||
* | | revert 539d929b7b32302afe548e4cb06b5f4dd56e9942 [ci skip] | Abdelkader Boudih | 2015-02-04 | 1 | -1/+1 |
| | | |||||
* | | Fix typo in Creating and Customizing Rails Generators & Templates guides | Yasuhiko Katoh (y@su) | 2015-02-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #18801 from andreynering/fix-js-link | Eileen M. Uchitelle | 2015-02-03 | 1 | -1/+1 |
|\ \ | | | | | | | Fix link [ci skip] | ||||
| * | | Fix link [ci skip] | Andrey Nering | 2015-02-03 | 1 | -1/+1 |
| | | | |||||
* | | | [ci skip] | James T. Perreault | 2015-02-03 | 1 | -1/+1 |
|/ / | | | | | | | improve sentence flow with grammar change | ||||
* | | Fix a typo in autoloading doc and note on autoload_paths [ci skip] | jafrog | 2015-02-02 | 1 | -1/+2 |
| | | |||||
* | | Use Module#include instead of send :include, since now is a public method ↵ | robertomiranda | 2015-01-31 | 1 | -1/+1 |
| | | | | | | | | | | | | [ci skip] ref https://bugs.ruby-lang.org/issues/8846 | ||||
* | | Merge pull request #18753 from andreynering/guide-single-table-inheritance | Robin Dupret | 2015-01-31 | 1 | -0/+64 |
|\ \ | | | | | | | Add Single Table Inheritance to guides [ci skip] | ||||
| * | | Add Single Table Inheritance to guides [ci skip] | Andrey Nering | 2015-01-31 | 1 | -0/+64 |
| |/ | |||||
* | | Merge pull request #18540 from andreynering/guides-custom-form-builder | Robin Dupret | 2015-01-31 | 1 | -1/+8 |
|\ \ | |/ |/| | Improving 'Customizing Form Builder' section with example [ci skip] | ||||
| * | Improving 'Customizing Form Builder' section with example [ci skip] | Andrey Nering | 2015-01-16 | 1 | -1/+8 |
| | | |||||
* | | Merge pull request #18736 from nonsensery/autoload-guide-grammar-fix | Yves Senn | 2015-01-30 | 1 | -1/+1 |
|\ \ | | | | | | | Fix grammar in Qualified Constants section [ci skip] | ||||
| * | | Fix grammar in Qualified Constants section | Alex Johnson | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | New wording is based on the "cref" sentence earlier in the section. [ci skip] | ||||
* | | | Merge pull request #18734 from andreynering/docs-dumping | Rafael Mendonça França | 2015-01-29 | 1 | -5/+10 |
|\ \ \ | | | | | | | | | Improvements about schema dumping [ci skip] | ||||
| * | | | Improvements about schema dumping [ci skip] | Andrey Nering | 2015-01-29 | 1 | -5/+10 |
| |/ / | |||||
* / / | Doc: run bundle update after cloning Rails. | Brian Morearty | 2015-01-29 | 1 | -0/+8 |
|/ / | |||||
* | | Consistent usage of spaces in hashes across our codebase | Rafael Mendonça França | 2015-01-29 | 1 | -8/+8 |
| | | |||||
* | | Use fixed fonts only in the name of the parameter | Rafael Mendonça França | 2015-01-29 | 1 | -3/+3 |
| | | |||||
* | | Switch to kwargs in ActionController::TestCase and ActionDispatch::Integration | Kir Shatrov | 2015-01-29 | 1 | -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 Nering | 2015-01-27 | 1 | -1/+1 |
| | | |||||
* | | remove trailing whitespace. [ci skip] | Yves Senn | 2015-01-25 | 1 | -1/+1 |
| | | |||||
* | | Add tip for running binstubs on Windows [ci skip] | Bryan Bibat | 2015-01-25 | 1 | -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 family | yui-knk | 2015-01-24 | 1 | -2/+3 |
| | | |||||
* | | constants guide: make assumption explicit in an example [closes #18465] [ci ↵ | Xavier Noria | 2015-01-23 | 1 | -0/+10 |
| | | | | | | | | skip] | ||||
* | | fix regexp for validate an integer in guides [ci skip] | yuuji.yaginuma | 2015-01-22 | 1 | -1/+1 |
| | | |||||
* | | Add :formats to options list of render documentation. | Diogo Benicá | 2015-01-21 | 1 | -1/+11 |
| | | |||||
* | | Merge pull request #18322 from morgoth/add-error-codes | Rafael Mendonça França | 2015-01-21 | 1 | -2/+56 |
|\ \ | | | | | | | Add ActiveModel::Errors#codes | ||||
| * | | Add ActiveModel::Errors#details | Wojciech Wnętrzak | 2015-01-20 | 1 | -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ça | 2015-01-21 | 1 | -1/+1 |
| | | | |||||
* | | | Add missing options to Error Message Interpolation guide [CI skip] | Wojciech Wnętrzak | 2015-01-21 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #18576 from yui-knk/fix/autoload4 | Santiago Pastorino | 2015-01-18 | 1 | -3/+2 |
|\ \ | | | | | | | [ci skip] Move a introduction of `Module.nesting` | ||||
| * | | [ci skip] Move a introduction of `Module.nesting` | yui-knk | 2015-01-18 | 1 | -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.yaginuma | 2015-01-18 | 1 | -44/+0 |
| | | | |||||
* | | | [ci skip] fix positions of parentheses | yui-knk | 2015-01-18 | 1 | -5/+5 |
|/ / | |||||
* | | Merge pull request #18568 from vipulnsward/removed-deprecated-methods-from-docs | Zachary Scott | 2015-01-17 | 1 | -18/+2 |
|\ \ | | | | | | | Removed documentation of deprecated removed methods | ||||
| * | | Removed documentation of deprecated removed methods [ci skip] | Vipul A M | 2015-01-17 | 1 | -18/+2 |
| | | | |||||
* | | | [ci skip] Change to the passive voice | yui-knk | 2015-01-17 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #18493 from twoller/master | Yves Senn | 2015-01-17 | 1 | -10/+10 |
|\ \ | | | | | | | Consistent anchor text in nav links, new image [ci skip] | ||||
| * | | Use consistent anchor text throughout the guide. | Toby Woller | 2015-01-15 | 1 | -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 quoting | Oge Nnadi | 2015-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Typo fix | Oge Nnadi | 2015-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Underscore typo [ci skip] | Jared Fine | 2015-01-16 | 1 | -1/+1 |
| | | | |||||
* | | | Adding tip about jQuery UJS [ci skip] | Andrey Nering | 2015-01-15 | 1 | -0/+3 |
| |/ |/| | | | | | Reference #18533 | ||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-01-15 | 3 | -16/+65 |
|\ \ | |||||
| * | | Fixed spacing issues on code comments in ActiveJob Basics guide. | Vipul A M | 2015-01-14 | 1 | -7/+9 |
| | | | | | | | | | | | | | | | Before: http://take.ms/z39h2 After: http://take.ms/Mo0G3 |