aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20800 from xijo/make_active_job_locale_awareKasper Timm Hansen2015-08-041-0/+13
|\ | | | | Make ActiveJob locale aware
| * Fixes #20799Johannes Opper2015-08-041-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `#perform_later` is called the locale isn't stored on the queue, which results in a locale reset when the job is performed. An example of the problem: I18n.locale = 'de' HelloJob.perform_now # german message, correct but I18n.locale = 'de' HelloJob.perform_later # english message, incorrect This PR attaches the current I18n.locale to every job during the serialization process. It is then restored during deserialization and used to perform the job with the correct locale. It falls back to the default locale if no serialized locale is found in order to provide backward compatibility with previously stored jobs. It is not necessary to clear the queue for the update.
* | Merge pull request #21076 from r11runner/guide-join-tablesClaudio B.2015-08-032-10/+21
|\ \ | | | | | | migration and association guides: added some remarks about join tables
| * | [ci skip] migration and association guides: added some remarks about join tablesr11runner2015-08-042-10/+21
| | |
* | | Correctly close a fenced code block [ci skip]Robin Dupret2015-08-031-0/+1
| | |
* | | Add note to routing guide about overriding defaults [ci skip]Andrew White2015-08-031-0/+2
| | | | | | | | | | | | Fixes #21085.
* | | Merge pull request #21052 from robin850/caching-guideKasper Timm Hansen2015-08-032-51/+160
|\ \ \ | | | | | | | | Publish the "Caching with Rails" guide
| * | | Improve the "Caching with Rails" guide's introduction [ci skip]claudiob2015-08-031-2/+14
| | | |
| * | | Add a section about "Collection caching" [ci skip]Robin Dupret2015-08-031-0/+23
| | | |
| * | | Publish the "Caching with Rails" guide [ci skip]Celestino Gomes2015-07-281-0/+4
| | | |
| * | | Add a "Managing dependencies" part to the caching guide [ci skip]Robin Dupret2015-07-281-0/+87
| | | |
| * | | Tiny edits to the "Caching with Rails" guideRobin Dupret2015-07-281-49/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix a few typos * Remove reference to the old `memcache-client` gem * Remove the "ActiveSupport::Cache::EhCacheStore" part from the guide as the gem doesn't seem to be maintained anymore. * Move the "Custom Cache Stores" part under the "AS::Cache::Store" part as they are pretty related. [ci skip]
* | | | correct example of button_tag [ci skip]yuuji.yaginuma2015-08-021-1/+1
| | | | | | | | | | | | | | | | wrapper div has been removed in cbb917455f306cf5818644b162f22be09f77d4b2
* | | | [ci skip]yui-knk2015-08-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add descriptions about `ActiveRecord::Base#to_param` to * `ActionDispatch::Routing::Base#match` * Overriding Named Route Parameters (guide) When passes `:param` to route definision, always `to_param` method of related model is overridden to constructe an URL by passing these model instance to named_helper.
* | | | Merge pull request #21063 from cmisenas/fix-guides-warning-envYves Senn2015-07-311-1/+1
|\ \ \ \ | | | | | | | | | | Fix WARNINGS flag inside guides/Rakefile
| * | | | Fix WARNINGS flag inside guides/RakefileJade Misenas2015-07-291-1/+1
| | |/ / | |/| |
* / | | Remove yepnope mention from form helpers guide because it's deprecated [ci skip]Anton Chuchkalov2015-07-301-3/+2
|/ / /
* / / [ci skip] `field_error_proc` is used in ↵yui-knk2015-07-291-1/+1
|/ / | | | | | | | | | | `ActionView::Helpers::ActiveModelInstanceTag` so replace `Active Record` with `Active Model`
* | Tiny documentation edits [ci skip]Robin Dupret2015-07-281-4/+6
| |
* | [ci skip] Add a link to action_controller_overview.htmlyui-knk2015-07-281-1/+1
| |
* | [ci skip] Now Action View is completely separated from Action Packyui-knk2015-07-281-1/+1
| |
* | Ryan Bigg has changed jobs.Ryan Bigg2015-07-271-1/+1
| |
* | Fix minor typo in testing guideDave Powers2015-07-201-1/+1
| | | | | | [ci skip]
* | Merge pull request #20763 from maurogeorge/default_scope_create-docSean Griffin2015-07-181-0/+12
|\ \ | | | | | | Add a note about default_scope and create records [ci skip]
| * | Add a note about default_scope and create recordsMauro George2015-07-161-0/+12
| | | | | | | | | | | | [ci skip]
* | | Replaced render :text with render :plain in AC gem bug report templatePrathamesh Sonpatki2015-07-181-1/+1
| | | | | | | | | | | | | | | - Followup of https://github.com/rails/rails/pull/20929. [ci skip]
* | | use `plain` option instead of deprecated `text` optionyuuji.yaginuma2015-07-181-1/+1
| | | | | | | | | | | | this will silence deprecation warnings
* | | Merge pull request #20909 from yui-knk/fix/test-commnadClaudio B.2015-07-171-1/+1
|\ \ \ | | | | | | | | [ci skip] Add `bundle exec` to test run command
| * | | [ci skip] Add `bundle exec` to test run commandyui-knk2015-07-171-1/+1
| | | |
* | | | [skip ci] Improve grammar/style in DB pooling guide.Tim Wade2015-07-161-7/+7
|/ / /
* | | [ci skip] add note for individual stub creationAditya Kapoor2015-07-151-0/+16
| | |
* | | Merge pull request #20736 from antoine-lizee/docsRobin Dupret2015-07-132-1/+6
|\ \ \ | | | | | | | | [ci skip] docs: making clear that perform_caching has a limited impact
| * | | [ci skip] doc: making clear that perform_caching has a limited impactantoine.lizee2015-07-132-1/+6
| | | |
* | | | fix typo in caching guide [ci skip]Anton Chuchkalov2015-07-121-1/+1
| | | |
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-07-111-1/+1
|\ \ \ \
| * | | | [ci skip] Fix hash key to symbolyui-knk2015-06-241-1/+1
| | | | |
* | | | | the key is that the behavior is incorrect [ci skip]Tony Miller2015-07-111-1/+1
| | | | |
* | | | | saying that "behaviour" "behaves" is kind of awkward, how about "works"Tony Miller2015-07-101-1/+1
| | | | |
* | | | | [ci skip] change sentence about reporting bugs in contributing guideTony Miller2015-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think I know what this sentence is trying to say, but the sentence didn't really make sense, bugs don't fix things! How about this take on it? :sweat_smile:
* | | | | Merge pull request #20765 from maurogeorge/activejob-exceptionRobin Dupret2015-07-091-0/+7
|\ \ \ \ \ | | | | | | | | | | | | Add Deserialization section on guides at ActiveJob Exception [ci skip]
| * | | | | Add Deserialization section on guides at ActiveJob ExceptionMauro George2015-07-081-0/+7
| | |_|/ / | |/| | | | | | | | | | | | | [ci skip]
* | | | | [ci skip] Add `bundle exec` to Running a Single Testyui-knk2015-07-081-1/+1
| | | | |
* | | | | docs, clarify the meanaing of return values from validation methods.Yves Senn2015-07-071-2/+3
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip] Closes #20792. Custom validation methods are implemented in terms of callbacks. The `validate` callback chain can't be halted using return values of individual callbacks.
* | | | Merge pull request #20779 from maurogeorge/secrets-guidesRobin Dupret2015-07-061-0/+23
|\ \ \ \ | | | | | | | | | | Add to Security guides the secrets.yml [ci skip]
| * | | | Add to Security guides the secrets.ymlMauro George2015-07-061-0/+23
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | remove reference to `country_options_for_select` and `country_select` from ↵yuuji.yaginuma2015-07-051-8/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | guide [ci skip] these methods were removed in 2d27b82d4cf446543539ad20afcbad256d8aeff7
* | | | Merge pull request #20764 from maurogeorge/mailer_imageVijay Dev2015-07-041-0/+18
|\ \ \ \ | | | | | | | | | | Create Adding images in Action Mailer Views on guides
| * | | | Create Adding images in Action Mailer Views on guidesMauro George2015-07-031-0/+18
| |/ / / | | | | | | | | | | | | [ci skip]
* / / / changes names in guides to better reflect diversity [ci-skip]Thomas Osborn2015-07-021-2/+2
|/ / /
* | | Merge pull request #20741 from radar/integration_tool_docRafael Mendonça França2015-06-301-1/+1
|\ \ \ | | | | | | | | Improve integration_tool documentation