aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | [ci_skip] Fix typo in Rails 5.1 upgrade notesShanthi Pendleton2017-04-231-1/+1
|/ / / /
* | | | Add note about #26929 in the upgrade guideRafael Mendonça França2017-04-211-0/+17
| | | | | | | | | | | | | | | | | | | | This is a small breaking change that we chose to make in 5.1 since the fix can be done with a search and replace tool.
* | | | Merge pull request #28432 from marksiemers/masterRafael França2017-04-201-1/+1
|\ \ \ \ | | | | | | | | | | Update 'Building Complex Forms' with `inverse_of`
| * | | | Update 'Building Complex Forms' with `inverse_of`marksiemers2017-03-151-1/+1
| | | | | | | | | | | | | | | If the example for complex forms is implemented, ActiveRecord will prevent saving unless `inverse_of: :person` is added to the `has_many :addresses` association.
* | | | | Fix all style guides violationsRafael Mendonça França2017-04-193-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | Closes #28382 Closes #28651
* | | | | Reword sentenceJon Moss2017-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sentence had some awkward grammar and was kind of confusing, tried to make it easier to understand what it was trying to say :) [ci skip]
* | | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-04-191-1/+1
|\ \ \ \ \
| * | | | | [ci skip] Change ++ by markdown quotesMikhail Dieterle2017-04-081-1/+1
| | | | | |
* | | | | | [ci skip] Changed plain text to NOTE.vishalzambre2017-04-191-5/+5
| | | | | |
* | | | | | Remove datetime fields from helper list [ci skip]yuuji.yaginuma2017-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `datetime_field` is an alias of the `datetime_local_field`, there is no helper to generate datetime fields. Ref: #25469
* | | | | | Small docs fixJon Moss2017-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing word "programming", to clarify what type of language Ruby is ;) [ci skip]
* | | | | | Add missing word 'to' [ci skip]Eric Henziger2017-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the original sentence is easy to understand, adding the 'to' is imho a bit more correct. Sources: * https://ell.stackexchange.com/q/16964 * https://www.usingenglish.com/forum/threads/127099-It-is-referred-as-or-It-is-referred-to-as
* | | | | | Small grammar fixJon Moss2017-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Small grammar fixesJon Moss2017-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Revert parts of cad58fbJon Moss2017-04-151-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog links at the top of the components, and lowercased the 'c' in notable changes. Personally, the styling isn't super important to me, but it's what we always done in previous guides, so I figured it's better to keep with what we've always done. [ci skip]
* | | | | | Merge pull request #28709 from prathamesh-sonpatki/release-notes-1Kasper Timm Hansen2017-04-151-22/+72
|\ \ \ \ \ \ | | | | | | | | | | | | | | Started adding release notes for Rails 5.1 [ci skip]
| * | | | | | Started adding release notes for Rails 5.1 [ci skip]Prathamesh Sonpatki2017-04-091-22/+72
| | | | | | |
* | | | | | | :scissors:Rafael Mendonça França2017-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Merge pull request #28402 from jules2689/action-controller-api-base-hooksRafael França2017-04-111-0/+112
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Add `action_controller_base` and `action_controller_api` hooks to mitigate differences between them. Also document Active Support on_load hooks
| * | | | | | | Add Documentation for Active Support On Load HooksJulian Nadeau2017-04-101-0/+112
| | | | | | | |
* | | | | | | | Update routing doc on the `get` `to:` option [ci skip]Dzianis Dashkevich2017-04-111-2/+2
|/ / / / / / /
* | | | | | | Remove link to rack.github.ioJon Moss2017-04-101-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We mention the "resources" section of the guide in the next paragraph, and the link is listed there. IMHO we shouldn't list it twice. [ci skip]
* | | | | | | Small grammar fixesJon Moss2017-04-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Pluralize callbackJon Moss2017-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users could have more than one `before_destroy` callback in their models. [ci skip]
* | | | | | | Merge pull request #28680 from vishalzambre/callback_doc_updateJon Moss2017-04-101-0/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Documented issue related before_destroy with dependent: :destroy
| * | | | | | [ci skip] documented issue related before_destroyvishalzambre2017-04-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated text
* | | | | | | Add text to "Upgrading to Rails 5.1"Jon Moss2017-04-081-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Add scaffolding for different sections in 5.1 release notesJon Moss2017-04-081-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Drop the "Sanity Check" contributing stepMatthew Draper2017-04-091-10/+0
| | | | | | |
* | | | | | | Remove mentions and instructions for docrailsMatthew Draper2017-04-092-18/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's been retired; all contributions now come in via PRs.
* | | | | | | Fix Guides to include #23138 [ci skip]claudiob2017-04-071-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A long-standing bug has been fixed in Rails 5.1 by @pixeltrix See https://github.com/rails/rails/blame/5-1-stable/actionpack/CHANGELOG.md#L52-L64 This PR updates the guides accordingly. Before: <img width="799" alt="before" src="https://cloud.githubusercontent.com/assets/10076/24809105/4ec7066c-1b73-11e7-98c6-c709c3465306.png"> After: <img width="799" alt="after" src="https://cloud.githubusercontent.com/assets/10076/24809109/50b21188-1b73-11e7-8a1a-32c3d0ed512a.png">
* | | | | | | Fix edge guides for Active Record callbacksAlessandro Dal Grande2017-04-041-1/+5
|/ / / / / /
* | | | | | Don't highlight code in anchorlink [ci skip]claudiob2017-04-041-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Minor fix to #28662
* | | | | | Downplay links in Guides headersRuy Diaz2017-04-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Merge pull request #28641 from diazruy/anchorsMatthew Draper2017-04-022-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add anchor links to all headers
| * | | | | | Add anchor links to all headersRuy Diaz2017-04-012-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow easy linking at all levels and not just from index
* | | | | | | Add default_scope note to AR guide [ci skip]Ross Kaffenberger2017-03-311-2/+14
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds note to explain unexpected behavior described in issue #28561. Developers may be surprised that the internal representation of similar query conditions in Hash and Array formats in default_scope will yield different results for model initialization. Link: https://github.com/rails/rails/issues/28561
* | | | | | Small grammar fixJon Moss2017-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Small grammar fixJon Moss2017-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add comma and change verb. [ci skip]
* | | | | | Merge pull request #28595 from 3wille/fw-after-action-hintRafael França2017-03-291-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | add hint on after_action filters
| * | | | | | add hint on after_action filtersFrederik Wille2017-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a hint that ``after_action``-callbacks are not executed when an exception was raised in the rest of the request cycle. The ``before_action`` section mentions "If there are additional filters scheduled to run after that filter, they are also cancelled." but this is IMO not sufficient.
* | | | | | | Fix link to rails-ujsRyunosuke Sato2017-03-303-3/+3
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/rails/rails-ujs is merged into actionview in favor of https://github.com/rails/rails/pull/28098. [skip ci]
* | | | | | Small grammar fixJon Moss2017-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add apostrophe. [ci skip]
* | | | | | Small grammar fixJon Moss2017-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add necessary commas. [ci skip]
* | | | | | Update middleware listJon Moss2017-03-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from `bin/rails about` run on a v5.1.0.rc1 application. [ci skip]
* | | | | | Upgrade various Rails 5.0 references to 5.1Jon Moss2017-03-254-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RC1 is out, `5-1-stable` has been created, figured it was time to start updating this stuff :) [ci skip]
* | | | | | Add WIP Rails 5.1 release notes to documents.yamlJon Moss2017-03-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | Rename local variable name `current_user` to `verified_user` [ci skip]yuuji.yaginuma2017-03-251-3/+3
|/ / / / / | | | | | | | | | | | | | | | Related #28570
* | | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-03-252-4/+4
|\ \ \ \ \
| * | | | | Update Configuring Rails Component guide exampleHendy Tanata2017-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config.time_zone is no longer in included in config/application.rb. See 28dcadc0140dfdebe87d5e691fd709c0a9ae0bae.