Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix syntax error in render partial example [ci skip] | yuuji.yaginuma | 2015-02-15 | 1 | -2/+2 |
| | |||||
* | Merge pull request #18938 from tchandy/updating_query_tracer_link | Arthur Nogueira Neves | 2015-02-14 | 1 | -1/+1 |
|\ | | | | | Updating Query Tracer github repository | ||||
| * | Updating Query Tracer github repository | Thiago Pradi | 2015-02-14 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-02-14 | 1 | -6/+6 |
|\ \ | |/ |/| | |||||
| * | [ci skip] Add some more code highlights. | Juanito Fatas | 2015-02-10 | 1 | -5/+5 |
| | | |||||
| * | [ci skip] Add a missing space in t.belongs_to argument. | Juanito Fatas | 2015-01-29 | 1 | -1/+1 |
| | | |||||
* | | [ci skip] escape under score | yui-knk | 2015-02-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #18844 from ↵ | Zachary Scott | 2015-02-12 | 1 | -0/+15 |
|\ \ | | | | | | | | | | | | | yuki24/guides-add-render-example-without-partial-and-locals Add tip for skipping `partial` and `locals` options for `render` | ||||
| * | | Add tip for skipping `partial` and `locals` options for `render` | Yuki Nishijima | 2015-02-08 | 1 | -0/+15 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | guides, various testing guide changes. [ci skip] | Yves Senn | 2015-02-11 | 1 | -7/+15 |
| | | | | | | | | | | | | /cc @zzak | ||||
* | | | Merge pull request #18363 from ↵ | Yves Senn | 2015-02-11 | 1 | -0/+16 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | andreynering/add-foreign-key-subsection-in-upgrading-guide Adding subsection on 'Upgrading' guide about foreign key support [ci skip] | ||||
| * | | | Adding subsection on 'upgrading' guide about 4.2 foreign key support [ci skip] | Andrey Nering | 2015-02-10 | 1 | -0/+14 |
| |/ / | |||||
* | | | Merge pull request #12257 from vipulnsward/end_on_find_in_batches | Rafael Mendonça França | 2015-02-10 | 1 | -1/+14 |
|\ \ \ | | | | | | | | | Add an option `end` to `find_in_batches` | ||||
| * | | | Add an option `end_at` to `find_in_batches` | Vipul A M | 2015-02-09 | 1 | -1/+14 |
| |/ / | | | | | | | | | | that complements the `start`parameter to specify where to stop batch processing | ||||
* | | | Merge pull request #18808 from carlosramireziii/i18n-doc-update | Robin Dupret | 2015-02-10 | 1 | -0/+19 |
|\ \ \ | |/ / |/| | | Document lazy lookup behavior for controllers [ci skip] | ||||
| * | | Document lazy lookup behavior for controllers | Carlos Ramirez III | 2015-02-03 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | Pull request #7082 added lazy lookup to controllers using the translate method, but the documentation still stated that it was available for views only. [ci skip] | ||||
* | | | use rails favicon.ico instead or ruby favicon.ico for rails guides | John Krueger | 2015-02-06 | 1 | -0/+0 |
| | | | |||||
* | | | 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` | ||||
* | | | | load "rack/test" before "action_controller/railtie" in bug report templates ↵ | yuuji.yaginuma | 2015-02-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | [ci skip] | ||||
* | | | | 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 | 2 | -0/+68 |
|\ \ \ | | | | | | | | | Add Single Table Inheritance to guides [ci skip] | ||||
| * | | | Add Single Table Inheritance to guides [ci skip] | Andrey Nering | 2015-01-31 | 2 | -0/+68 |
| |/ / | |||||
* | | | 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}]} ``` |