aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* [ci skip] remove invalid code from docsschneems2014-06-281-2/+0
|
* [ci skip] Fix doc for exceptschneems2014-06-281-5/+4
| | | | The example showed is `except`, however the method "documented" is `unstop`. Fix to align the docs to the example.
* [ci skip] Doc ability to chain in `find_each`schneems2014-06-281-1/+9
| | | | Also use appropriate mailer syntax in the `find_each` block.
* [ci skip] Consolidate docs for `find`schneems2014-06-281-25/+19
| | | | Put all options for overloading `find` in one section
* [ci skip] Consolidate docs for `last`schneems2014-06-281-16/+21
| | | | | | Add docs on what happens when a numerical argument is provided to last. Since `last!` behaves exactly the same way but can raise an argument we can consolidate it in the `last` section.
* [ci skip] Consolidate docs for `take`schneems2014-06-281-35/+20
| | | | | | Add docs on what happens when a numerical argument is provided to take. Since `take!` behaves exactly the same way but can raise an argument we can consolidate it in the `take` section.
* [ci skip] Consolidate docs for `find_by`schneems2014-06-281-19/+14
| | | | Since `find_by!` behaves exactly the same way but can raise an argument we can consolidate it in the `find_by` section.
* [ci skip] Consolidate docs for `first`schneems2014-06-281-35/+21
| | | | | | Add docs for `first` when provided a numerical argument. Since `first!` behaves exactly the same way but can raise an argument we can consolidate it in the `first` section.
* [ci skip] Add return values to examplesschneems2014-06-281-1/+10
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-06-281-3/+3
|\
| * [ci skip] Add missing colon and period in initialization.md.Juanito Fatas2014-06-251-3/+3
| |
* | Add missing period in Getting Started guideRory O’Kane2014-06-281-1/+1
| | | | | | | | Within section 5.10 Adding Some Validation
* | Merge pull request #15933 from rafael/masterRafael Mendonça França2014-06-271-0/+2
|\ \ | | | | | | | | | | | | | | | Add always permitted parameters as a configurable option. [Rafael Mendonça França + Gary S. Weaver]
| * | Improvements per code review.Rafael Chacón2014-06-271-1/+3
| | | | | | | | | | | | | | | | | | * General style fixes. * Add changes to configuration guide. * Add missing tests.
* | | Follow-up to #15215 [ci skip]Robin Dupret2014-06-273-10/+12
| | |
* | | Tiny follow-up to 1a69112Robin Dupret2014-06-271-3/+7
| | | | | | | | | | | | | | | | | | | | | Wrap list items to 80 chars and avoid relying on NOTE inside an item since they are meant to be parsed in paragraphs, not lists. [ci skip]
* | | fk: add docsYves Senn2014-06-262-58/+96
| | |
* | | Deprecate automatic counter caches on has_many :throughSean Griffin2014-06-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reliant on https://github.com/rails/rails/pull/15747 but pulled to a separate PR to reduce noise. `has_many :through` associations have the undocumented behavior of automatically detecting counter caches. However, the way in which it does so is inconsistent with counter caches everywhere else, and doesn't actually work consistently. As with normal `has_many` associations, the user should specify the counter cache on the `belongs_to`, if they'd like it updated.
* | | sync deprecations and removals with 4.2 release notes. [ci skip]Yves Senn2014-06-251-0/+26
| | | | | | | | | | | | | | | | | | | | | Noticed that there was no section about Action View and added the heading. Notable changes need to be compiled. /cc @chancancode @zzak
* | | synchronize Active Record deprecations / removals with 4.2 release notesYves Senn2014-06-251-0/+24
| | | | | | | | | | | | | | | | | | [ci skip] /cc @chancancode @zzak
* | | Merge pull request #15887 from RudyOnRails/patch-1Arthur Nogueira Neves2014-06-241-3/+3
|\ \ \ | | | | | | | | Improves readability of this line...
| * | | Improves readability...Kevin Musiorski2014-06-241-3/+3
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #15828 from yuki24/add-warning-about-rescue-from-exceptionSean Griffin2014-06-241-0/+2
|\ \ \ \ | | | | | | | | | | Add warning section for `rescue_from Exception` in Guides
| * | | | Add warning for `rescue_from Exception` and `rescue_from StandardError`Yuki Nishijima2014-06-191-0/+2
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #15810 from maurogeorge/guides-rails-updateYves Senn2014-06-241-0/+23
|\ \ \ \ \ | |_|/ / / |/| | | | Add rails:update to the upgrading guides
| * | | | Add rails:update to the upgrading guidesMauro George2014-06-191-0/+23
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #14113 from murb/patch-1Rafael Mendonça França2014-06-231-5/+6
|\ \ \ \ \ | | | | | | | | | | | | Moved explanation of `--mountable` option up
| * | | | | Moved explanation of `--mountable` option upMaarten Brouwers2014-02-191-5/+6
| | | | | | | | | | | | | | | | | | The example code uses `--mountable`. In previous version this was followed by an explanation of the `--full` option, which doesn't make sense. Later on in the text this is better explained. I moved this explanation up without repeating too much.
* | | | | | Small typoAnton Cherepanov2014-06-232-3/+3
| | | | | |
* | | | | | Merge pull request #15852 from SyntaxBlitz/masterRafael Mendonça França2014-06-231-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Change double quotes to single quotes in guide
| * | | | | | Change double quotes to single quotes in guideTimothy Aveni2014-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve consistency
* | | | | | | Merge pull request #15860 from aidanharan/docrails-assets-manifest-typoYves Senn2014-06-221-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | [ci skip] Added missing colon in asset manifest JSON
| * | | | | | Added missing colon in asset manifest JSON.Aidan Haran2014-06-181-1/+1
| | | | | | |
* | | | | | | :nail_care: wrap the tip from #15624 at 80 chars [ci skip]Zachary Scott2014-06-201-1/+2
| | | | | | |
* | | | | | | Merge pull request #15624 from aditya-kapoor/add-warnings-on-guidesZachary Scott2014-06-201-0/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | [ci skip] Add Tip for change_column_null and change_column_default in guides
| * | | | | | | [ci skip] Add Tip for change_column_null and change_column_default in guidesAditya Kapoor2014-06-211-0/+2
| | | | | | | |
* | | | | | | | Merge pull request #15809 from maurogeorge/guides-console-appYves Senn2014-06-201-0/+25
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | Add to guides app and helper objects on command line
| * | | | | | | Add to guides app and helper objects on command lineMauro George2014-06-191-0/+25
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Remove extra list item elementBen Hicks2014-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaning up the list items that detail what an engines `--full` option generates. Joining a multiline multi list item into a multiline single list item. [ci skip]
* | | | | | | ErrorsController shouldn't inherit ApplicationController, but ↵Yuki Nishijima2014-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionController::Base Inheriting `ApplicationController` often causes an issue as it always has before/after actions. It should encourage to use `ActionController::Base` instead. [ci skip]
* | | | | | | Merge pull request #15808 from maurogeorge/guides-custom-errors-pageEileen M. Uchitelle2014-06-191-0/+55
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Create custom errors page on ActionController guides
| * | | | | | | Create custom errors page on ActionController guidesMauro George2014-06-191-0/+55
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | [ci skip]
* / / / / / / [ci skip] Fix typo in 4.1 upgrade/flash structureDan Rice2014-06-191-1/+1
|/ / / / / /
* | | | | | [ci skip] doc corrected : ActiveRecord::Base.connections to ↵Rahul P. Chaudhari2014-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | ActiveRecord::Base.configurations
* | | | | | docs, remove getting started guide sample application. [ci skip]Yves Senn2014-06-141-3/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This application always gets out of sync and doesn't add much value. Closes #15721 /cc @rafaelfranca
* | | | | pg guide, use the term `database views` to be specific. [ci skip]Yves Senn2014-06-141-3/+3
| | | | |
* | | | | First pass at Rails 4.2 release notes [ci skip]Godfrey Chan2014-06-131-2/+2
| | | | |
* | | | | Create 4.2 release notes guide scaffold [ci skip]Zachary Scott2014-06-132-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Point to future 4-2-stable branch for detailed changes. [ci skip] Sync Active Support changelogs with release notes [ci skip] 4.2 Release Notes is a work in progress [ci skip] Assorted fixes for AS release notes [ci skip] * `Hash#deep_transform_keys` has already been backported * Mentioning `ActiveSupport::SafeBuffer#prepend` in the "Deprecations" section would be enough * Fix syntax in `Kernel#concern` example Sync AS release notes with the latest commits [ci skip] Synced 4.2 release notes with commits in railties [ci skip] Sync AP Deprecations and Notable changes from CHANGELOG [ci skip] Removed 4.2 release notes from the index [ci skip] This deprecation was reverted in 489a8f2 [ci skip] Synced Active Record changelogs for 4.2 release notes [ci skip] Synced Active Model changelog with the release notes [ci skip] Added cc26b6b as a 'Removal' item in AP release notes [ci skip] Use 'character' instead of 'symbol' to avoid confusion [ci skip] Edit pass on 4.2 release notes [ci skip] :memo: :lipstick: Use `.xyz` and `#xyz` appropiately [ci skip]
* | | | | Copy edits from e0f3f1a [ci skip]Zachary Scott2014-06-131-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | - image_tag is an instance method - explain possible results when asset pipeline is used
* | | | | Document behavior concerns regarding the full Rails stack [ci skip]Zachary Scott2014-06-131-0/+24
| | | | | | | | | | | | | | | | | | | | Related to a discussion on #15508