Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #20800 from xijo/make_active_job_locale_aware | Kasper Timm Hansen | 2015-08-04 | 1 | -0/+13 |
|\ | | | | | Make ActiveJob locale aware | ||||
| * | Fixes #20799 | Johannes Opper | 2015-08-04 | 1 | -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-tables | Claudio B. | 2015-08-03 | 2 | -10/+21 |
|\ \ | | | | | | | migration and association guides: added some remarks about join tables | ||||
| * | | [ci skip] migration and association guides: added some remarks about join tables | r11runner | 2015-08-04 | 2 | -10/+21 |
| | | | |||||
* | | | Correctly close a fenced code block [ci skip] | Robin Dupret | 2015-08-03 | 1 | -0/+1 |
| | | | |||||
* | | | Add note to routing guide about overriding defaults [ci skip] | Andrew White | 2015-08-03 | 1 | -0/+2 |
| | | | | | | | | | | | | Fixes #21085. | ||||
* | | | Merge pull request #21052 from robin850/caching-guide | Kasper Timm Hansen | 2015-08-03 | 2 | -51/+160 |
|\ \ \ | | | | | | | | | Publish the "Caching with Rails" guide | ||||
| * | | | Improve the "Caching with Rails" guide's introduction [ci skip] | claudiob | 2015-08-03 | 1 | -2/+14 |
| | | | | |||||
| * | | | Add a section about "Collection caching" [ci skip] | Robin Dupret | 2015-08-03 | 1 | -0/+23 |
| | | | | |||||
| * | | | Publish the "Caching with Rails" guide [ci skip] | Celestino Gomes | 2015-07-28 | 1 | -0/+4 |
| | | | | |||||
| * | | | Add a "Managing dependencies" part to the caching guide [ci skip] | Robin Dupret | 2015-07-28 | 1 | -0/+87 |
| | | | | |||||
| * | | | Tiny edits to the "Caching with Rails" guide | Robin Dupret | 2015-07-28 | 1 | -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.yaginuma | 2015-08-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | wrapper div has been removed in cbb917455f306cf5818644b162f22be09f77d4b2 | ||||
* | | | | [ci skip] | yui-knk | 2015-08-01 | 1 | -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-env | Yves Senn | 2015-07-31 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Fix WARNINGS flag inside guides/Rakefile | ||||
| * | | | | Fix WARNINGS flag inside guides/Rakefile | Jade Misenas | 2015-07-29 | 1 | -1/+1 |
| | |/ / | |/| | | |||||
* / | | | Remove yepnope mention from form helpers guide because it's deprecated [ci skip] | Anton Chuchkalov | 2015-07-30 | 1 | -3/+2 |
|/ / / | |||||
* / / | [ci skip] `field_error_proc` is used in ↵ | yui-knk | 2015-07-29 | 1 | -1/+1 |
|/ / | | | | | | | | | | | `ActionView::Helpers::ActiveModelInstanceTag` so replace `Active Record` with `Active Model` | ||||
* | | Tiny documentation edits [ci skip] | Robin Dupret | 2015-07-28 | 1 | -4/+6 |
| | | |||||
* | | [ci skip] Add a link to action_controller_overview.html | yui-knk | 2015-07-28 | 1 | -1/+1 |
| | | |||||
* | | [ci skip] Now Action View is completely separated from Action Pack | yui-knk | 2015-07-28 | 1 | -1/+1 |
| | | |||||
* | | Ryan Bigg has changed jobs. | Ryan Bigg | 2015-07-27 | 1 | -1/+1 |
| | | |||||
* | | Fix minor typo in testing guide | Dave Powers | 2015-07-20 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
* | | Merge pull request #20763 from maurogeorge/default_scope_create-doc | Sean Griffin | 2015-07-18 | 1 | -0/+12 |
|\ \ | | | | | | | Add a note about default_scope and create records [ci skip] | ||||
| * | | Add a note about default_scope and create records | Mauro George | 2015-07-16 | 1 | -0/+12 |
| | | | | | | | | | | | | [ci skip] | ||||
* | | | Replaced render :text with render :plain in AC gem bug report template | Prathamesh Sonpatki | 2015-07-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | - Followup of https://github.com/rails/rails/pull/20929. [ci skip] | ||||
* | | | use `plain` option instead of deprecated `text` option | yuuji.yaginuma | 2015-07-18 | 1 | -1/+1 |
| | | | | | | | | | | | | this will silence deprecation warnings | ||||
* | | | Merge pull request #20909 from yui-knk/fix/test-commnad | Claudio B. | 2015-07-17 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | [ci skip] Add `bundle exec` to test run command | ||||
| * | | | [ci skip] Add `bundle exec` to test run command | yui-knk | 2015-07-17 | 1 | -1/+1 |
| | | | | |||||
* | | | | [skip ci] Improve grammar/style in DB pooling guide. | Tim Wade | 2015-07-16 | 1 | -7/+7 |
|/ / / | |||||
* | | | [ci skip] add note for individual stub creation | Aditya Kapoor | 2015-07-15 | 1 | -0/+16 |
| | | | |||||
* | | | Merge pull request #20736 from antoine-lizee/docs | Robin Dupret | 2015-07-13 | 2 | -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 impact | antoine.lizee | 2015-07-13 | 2 | -1/+6 |
| | | | | |||||
* | | | | fix typo in caching guide [ci skip] | Anton Chuchkalov | 2015-07-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-07-11 | 1 | -1/+1 |
|\ \ \ \ | |||||
| * | | | | [ci skip] Fix hash key to symbol | yui-knk | 2015-06-24 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | the key is that the behavior is incorrect [ci skip] | Tony Miller | 2015-07-11 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | saying that "behaviour" "behaves" is kind of awkward, how about "works" | Tony Miller | 2015-07-10 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | [ci skip] change sentence about reporting bugs in contributing guide | Tony Miller | 2015-07-10 | 1 | -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-exception | Robin Dupret | 2015-07-09 | 1 | -0/+7 |
|\ \ \ \ \ | | | | | | | | | | | | | Add Deserialization section on guides at ActiveJob Exception [ci skip] | ||||
| * | | | | | Add Deserialization section on guides at ActiveJob Exception | Mauro George | 2015-07-08 | 1 | -0/+7 |
| | |_|/ / | |/| | | | | | | | | | | | | | [ci skip] | ||||
* | | | | | [ci skip] Add `bundle exec` to Running a Single Test | yui-knk | 2015-07-08 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | docs, clarify the meanaing of return values from validation methods. | Yves Senn | 2015-07-07 | 1 | -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-guides | Robin Dupret | 2015-07-06 | 1 | -0/+23 |
|\ \ \ \ | | | | | | | | | | | Add to Security guides the secrets.yml [ci skip] | ||||
| * | | | | Add to Security guides the secrets.yml | Mauro George | 2015-07-06 | 1 | -0/+23 |
| | | | | | | | | | | | | | | | | | | | | [ci skip] | ||||
* | | | | | remove reference to `country_options_for_select` and `country_select` from ↵ | yuuji.yaginuma | 2015-07-05 | 1 | -8/+0 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | guide [ci skip] these methods were removed in 2d27b82d4cf446543539ad20afcbad256d8aeff7 | ||||
* | | | | Merge pull request #20764 from maurogeorge/mailer_image | Vijay Dev | 2015-07-04 | 1 | -0/+18 |
|\ \ \ \ | | | | | | | | | | | Create Adding images in Action Mailer Views on guides | ||||
| * | | | | Create Adding images in Action Mailer Views on guides | Mauro George | 2015-07-03 | 1 | -0/+18 |
| |/ / / | | | | | | | | | | | | | [ci skip] | ||||
* / / / | changes names in guides to better reflect diversity [ci-skip] | Thomas Osborn | 2015-07-02 | 1 | -2/+2 |
|/ / / | |||||
* | | | Merge pull request #20741 from radar/integration_tool_doc | Rafael Mendonça França | 2015-06-30 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Improve integration_tool documentation |