aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update increment! documentation [ci skip]Eugene Kenny2016-08-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | The `increment!` and `decrement!` methods were recently reimplemented to make them safe to call from multiple connections concurrently. This changed their behaviour in a few ways. Previously they used `update_attribute`, which calls the attribute setter method, runs callbacks, and touches the record. Now they behave more like `update_column`, writing the update to the database directly and bypassing all of those steps.
* | Fix typo in asset_pipeline.md [ci skip]kenta-s2017-01-051-2/+2
| |
* | Merge pull request #27446 from zachahn/asset-hash-md5-to-sha256Rafael França2017-01-041-22/+24
|\ \ | | | | | | Update asset fingerprinting information
| * | Update asset fingerprinting informationZach Ahn2016-12-231-22/+24
| | | | | | | | | | | | | | | | | | | | | - Replaced MD5 => SHA256 where necessary - Updated sprockets manifest example See: https://github.com/rails/sprockets/blob/dd9b3b53c06c602c49057bc4a426c1a446ed7a4a/lib/sprockets.rb#L26
* | | Merge pull request #27552 from jarijokinen/fix-default-locale-code-exampleAndrew White2017-01-041-5/+10
|\ \ \ | | | | | | | | Fix default locale code example [ci skip]
| * | | Add instructions for available_locales [skip ci]Jari Jokinen2017-01-041-5/+10
| | | |
* | | | Clarify Bi-directional Associations docsDavid Sherline2017-01-031-23/+41
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rails automatically finds bi-directional associations between models with well-named associations. However, when using non-standard naming, you have to use :inverse_of to explicitly tell Rails about the bi- directional association. With reference to #27516 [ci skip]
* | | Update schema cache doc in guides/command_lineKir Shatrov2016-12-311-2/+2
| | |
* | | Remove deprecated support to passing a column to #quoteRafael Mendonça França2016-12-296-0/+6
| | |
* | | [ci skip] Rejigger the dublicable? wording a bit.Kasper Timm Hansen2016-12-291-9/+12
| | |
* | | Merge pull request #27346 from utilum/core_ext_guide_duplicableKasper Timm Hansen2016-12-291-17/+31
|\ \ \ | | | | | | | | Update list of `duplicable?` objects in AS core_ext guide [ci skip]
| * | | Update list of `duplicable?` objects in AS core_ext guide [ci skip]utilum2016-12-231-17/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Complex and Rational objects can not be duplicated. Duplicable objects in Ruby 2.4.0 include: - most numbers - symbols - `nil` - `true` - `false`
* | | | Use proper output format [ci skip] (#27498)प्रथमेश Sonpatki2016-12-291-1/+1
| | | |
* | | | Revert "Revert "Merge pull request #17943 from ↵Rafael Mendonça França2016-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jeremywadsack/doc_cache_importability"" This reverts commit 6961afefd2f163f30b9ae3aacb74b290287f9a80. We were not able to keep backward compatibility in this case so it is better to ask people to upgrade with cold cache.
* | | | Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some methods were added to public API in 5b14129d8d4ad302b4e11df6bd5c7891b75f393c and they should be not part of the public API.
* | | | public methods can be placed after private ones if you want toAkira Matsuda2016-12-251-1/+1
| | | | | | | | | | | | | | | | [ci skip]
* | | | Abuse of protected in guidesAkira Matsuda2016-12-253-5/+5
| |/ / |/| |
* | | fix typo in getting_started [ci skip] (#27423)yachibit2016-12-211-1/+1
| | |
* | | [ci skip] Update initialization guide samples.Kasper Timm Hansen2016-12-201-81/+84
| | | | | | | | | | | | Rewrite bits and pieces to mention the command infrastructure.
* | | Merge pull request #27365 from baweaver/patch-1Eileen M. Uchitelle2016-12-191-0/+8
|\ \ \ | | | | | | | | Add note on defaults block option
| * | | Add note on defaults block optionBrandon Weaver2016-12-141-0/+8
| | | | | | | | | | | | When I was looking for how to default the entire routes file to JSON I could only find the postfix option. It was mentioned on IRC that you could do this with a block as well and I had not found it in the documentation.
* | | | Fix rake guides:generate:kindle errorBian Jiaping2016-12-182-10/+7
| | | |
* | | | How to disable scaffolds.scss in generators.md (#27383)Eike Send2016-12-171-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | * How to disable scaffolds.scss in generators.md * Improves workflow customization text in generators.md
* | | | [ci skip] add a section explaining command line arguments for generatorsKevin Hughes2016-12-161-0/+20
| | | |
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-12-161-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Remove mention of SafeErb gem [ci skip]Prathamesh Sonpatki2016-11-191-1/+1
| | | | | | | | | | | | | | | | Followup of https://github.com/rails/rails/pull/27086
* | | | Mention JS Runtime dependency in dev dependencies guide [ci skip].utilum2016-12-141-0/+4
| |/ / |/| |
* | | remove deprecated `assert_send` from assertion list [ci skip]yuuji.yaginuma2016-12-091-1/+0
| | | | | | | | | | | | | | | `assert_send` was deprecated in minitest 5.10.0. Ref: https://github.com/seattlerb/minitest/commit/f95ef007ec64d956d88fedc37fd2ed7e106b777e
* | | stop using removed `render :text`yuuji.yaginuma2016-12-031-1/+1
| | | | | | | | | | | | Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
* | | Fixes #27202, [ci skip]utilum2016-11-301-2/+0
| | |
* | | Fix typo in Rails 5.0 release notes – “when when”Rory O’Kane2016-11-291-1/+1
| | | | | | | | | [ci skip]
* | | Add note about step needed to get tests to pass if you implemented basic ↵JessRudder2016-11-281-0/+7
| | | | | | | | | | | | auth [ci skip]
* | | fix: solves issue#27189jnoortheen2016-11-271-3/+4
| | |
* | | Followup of UUID default extension in the docs [ci skip]Prathamesh Sonpatki2016-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | - Mentioned clearly that for PostgreSQL < 9.4, you need to pass the default option with "uuid_generate_v4()" - Also updated PostgreSQL Active Record guide with this change. - https://github.com/rails/rails/pull/25395#r66877078
* | | Merge pull request #27143 from sachin21/fix-permissionMatthew Draper2016-11-221-0/+0
|\ \ \ | | | | | | | | Fix a wrong permission
| * | | Fix a wrong permissionSatoshi Ohmori2016-11-221-0/+0
| | | |
* | | | Change html-scanner to rails-html-sanitizerJon Moss2016-11-191-1/+1
| | | | | | | | | | | | | | | | [ci skip]
* | | | Updated Sprockets DocumentationTom Prats2016-11-171-21/+11
| | | |
* | | | Remove mention of deprecated SafeERB gem from security docs for now, prior ↵Vipul A M2016-11-181-1/+1
| |/ / |/| | | | | | | | | | | section already speaks about sanitization as a safety measure. [ci skip] (#27086) Fixes #27085
* | | remove `alias_method_chain` from guide [ci skip]yuuji.yaginuma2016-11-151-50/+0
| | | | | | | | | | | | Follow up to 7c848e6dd493ff236d33a0410a92f4c3e5cc3c7f
* | | Fix small typo in Layouts and Rendering guide. [ci skip]Conrad Beach2016-11-141-1/+1
| | | | | | | | | Changed "same way they do" to "same way they are".
* | | Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-131-1/+1
|\ \ \ | | | | | | | | Add missing `+` around a some literals.
| * | | Add missing `+` around a some literals.bogdanvlviv2016-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Mainly around `nil` [ci skip]
* | | | adds support for arbitrary hashes in strong parametersXavier Noria2016-11-111-3/+15
| | | |
* | | | Update guides/source/active_record_querying.mdbogdanvlviv2016-11-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add info about updating locking column value Follow #26050 and #26871 [ci skip]
* | | | [ci skip] Expand context on `:cache_hits`.Kasper Timm Hansen2016-11-081-5/+7
| | | | | | | | | | | | | | | | Need to explain the key is only there in certain cases.
* | | | [ci skip] Add `render_collection.action_view` entry to AS instrumentationyui-knk2016-11-081-0/+16
| | | |
* | | | Merge pull request #26982 from bogdanvlviv/started_guideKasper Timm Hansen2016-11-071-2/+2
|\ \ \ \ | | | | | | | | | | Fix 'Getting Started with Rails' [ci skip]
| * | | | Fix 'Getting Started with Rails' [ci skip]bogdanvlviv2016-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `bin/rails generate controller Comments` creates files app/assets/javascripts/comments.coffee app/assets/stylesheets/comments.scss not app/assets/javascripts/comment.coffee app/assets/stylesheets/comment.scss
* | | | | Add missing spaces [ci skip]bogdanvlviv2016-11-071-2/+2
|/ / / /