Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #10235 from joergleis/patch-1 | Michael Koziarski | 2013-04-18 | 1 | -5/+4 |
|\ | | | | | Reorganize MessageEncryptor | ||||
| * | Reorganize MessageEncryptor | jgls | 2013-04-19 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | | | 1) According to OpenSSL's documentation, cipher.random_iv must be called after cipher.encrypt and already sets the generated IV on the cipher. 2) OpenSSL::CipherError was moved to OpenSSL::Cipher::CipherError in Ruby 1.8.7. Since Rails 4 requires at least Ruby 1.9.3, support for the old location can be dropped. | ||||
* | | The increment and decrement commands in the local cache are exactly the | wangjohn | 2013-04-17 | 1 | -18/+14 |
| | | | | | | | | same, so their logic is being refactored. | ||||
* | | Refactored the storage of a temporary version of the local cache into | wangjohn | 2013-04-17 | 1 | -8/+6 |
| | | | | | | | | its own method. | ||||
* | | Add nodoc to LocalCacheRegistry | Rafael Mendonça França | 2013-04-17 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
* | | Adding a local thread registry to store local caches. | wangjohn | 2013-04-17 | 1 | -15/+32 |
| | | |||||
* | | more descriptive NameError's messages for class attributes | Hrvoje Šimić | 2013-04-17 | 2 | -6/+8 |
| | | |||||
* | | switch (and lazily convert) ivar names to 3.x | Sam Ruby | 2013-04-16 | 2 | -52/+51 |
| | | |||||
* | | Copy-edits in the ActiveSupport::Subscriber documentation. | Rafael Mendonça França | 2013-04-16 | 1 | -6/+5 |
| | | | | | | | | | | | | Thank you @fxn :green_heart::yellow_heart::heart::purple_heart::blue_heart: [ci skip] | ||||
* | | Merge pull request #10218 from dasch/dasch/extract-subscriber-class | Rafael Mendonça França | 2013-04-16 | 3 | -43/+89 |
|\ \ | |/ |/| | Extract a Subscriber base class from LogSubscriber | ||||
| * | Extract a base class from ActiveSupport::LogSubscriber | Daniel Schierbeck | 2013-04-16 | 3 | -43/+89 |
| | | | | | | | | | | | | Adds a ActiveSupport::Subscriber base class that LogSubscriber inherits from. By inheriting from Subscriber, other kinds of subscribers can take advantage of the event attachment system. | ||||
* | | The third argument of deprecation_warning is always optional | Rafael Mendonça França | 2013-04-16 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
* | | Fix documentation to the custom Deprecator | Rafael Mendonça França | 2013-04-16 | 1 | -1/+1 |
| | | | | | | [ci skip] | ||||
* | | interpolate instead of string concat | Vipul A M | 2013-04-15 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-13 | 1 | -1/+1 |
|\ | |||||
| * | Corrected paramter to parameter | Carson McDonald | 2013-04-13 | 1 | -1/+1 |
| | | |||||
* | | use define_singleton_method instead of class_eval | Francesco Rodriguez | 2013-04-13 | 1 | -4/+2 |
| | | |||||
* | | Add :nodoc: mark to PerThreadRegistry#method_missing [ci skip] | Francesco Rodriguez | 2013-04-13 | 1 | -1/+1 |
| | | |||||
* | | hides the per thread registry instance, and caches singleton methods | Xavier Noria | 2013-04-13 | 2 | -23/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | Existing code was delegating to the instance with delegate macro calls, or invoking the instance method to reach the object and call its instance methods. But the point is to have a clean class-level interface where the thread local instance is hidden in the implementation. References #11c6973. References #10198. | ||||
* | | complete rewrite of the documentation of AS::PerThreadRegistry | Xavier Noria | 2013-04-13 | 1 | -21/+24 |
| | | | | | | | | | | | | | | | | | | | | * It focuses on how to use it. * Removes some ambigueties in the original docs about whether the state is stored in the class. * Documents it provides class-level accessors via method_missing. * Documents that if the extended class has an initializer, it must accept no arguments. | ||||
* | | Add Chatham Islands Time (UTC+1245) support. | Hiro Asari | 2013-04-12 | 1 | -1/+2 |
| | | | | | | | | Also update the documentation on the number of supported time zones. | ||||
* | | use unified and clean formatting in CHANGELOGS. [ci skip] | Yves Senn | 2013-04-12 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #10179 from vipulnsward/refactor_order_hash_test | Santiago Pastorino | 2013-04-11 | 1 | -5/+1 |
|\ \ | |/ |/| | refactor order hash test; remove unused method param | ||||
| * | refactor order hash test | Vipul A M | 2013-04-11 | 1 | -5/+1 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-04-11 | 4 | -8/+17 |
|\ \ | |/ |/| | | | | | Conflicts: guides/source/action_mailer_basics.md | ||||
| * | fix Array#uniq_by! docs [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -2/+2 |
| | | |||||
| * | add documentation to Benchmark#ms [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -0/+7 |
| | | |||||
| * | fix broken format in Array#to_sentence [ci skip] | Francesco Rodriguez | 2013-04-04 | 1 | -3/+5 |
| | | |||||
| * | Merge branch 'master' of github.com:rails/rails | Vijay Dev | 2013-03-30 | 31 | -84/+178 |
| |\ | |||||
| * | | Revert "Using American English spellings over British style spellings" | Vijay Dev | 2013-03-30 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 573df1cf2a5d5d1f288c8a4a5d76194675141832. Reason: changelog edits aren't allowed in docrails. [ci skip] | ||||
* | | | Revert "Merge pull request #10158 from steveklabnik/issue_10125" | Rafael Mendonça França | 2013-04-10 | 2 | -19/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit fa3ef8e82ab2f96cf15ef9bc885b2468fad77621, reversing changes made to e0af93dd3a5eeee2e2a67b05f34afb66cc80c00b. Reason: Routes, Active Record and the rendering stack should not depend on the default locale | ||||
* | | | Using public send instead of send for the PerThreadRegistry module. | wangjohn | 2013-04-10 | 1 | -1/+1 |
| | | | | | | | | | | | | Prevents you from accidentally calling a protected method. | ||||
* | | | Removed unused setup | Anupam Choudhury | 2013-04-10 | 1 | -2/+0 |
| | | | |||||
* | | | Fixed typo | Anupam Choudhury | 2013-04-10 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #10158 from steveklabnik/issue_10125 | Steve Klabnik | 2013-04-09 | 2 | -2/+19 |
|\ \ \ | | | | | | | | | Fix inflector to respect default locale. | ||||
| * | | | Fix inflector to respect default locale. | Nick Cox | 2013-04-10 | 2 | -2/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inflector was made aware of locales in 7db0b073fec6bc3e6f213b58c76e7f43fcc2ab97, but it defaulted to :en. That should actually be our default locale instead. Fixes #10125 | ||||
* | | | | Changed the ScopeRegistry and the InstrumentationRegistry to use the | wangjohn | 2013-04-09 | 1 | -5/+4 |
| | | | | | | | | | | | | | | | | PerThreadRegistry module. | ||||
* | | | | Creating a module so that per thread registries can be easily created as | wangjohn | 2013-04-09 | 1 | -0/+41 |
|/ / / | | | | | | | | | | thread local variables. | ||||
* | | | Creating an object to consolidate thread locals which hold the | wangjohn | 2013-04-08 | 1 | -1/+27 |
| | | | | | | | | | | | | instrumenters for the AS::Notifications module. | ||||
* | | | Fix markdown formatting | Agis Anastasopoulos | 2013-04-06 | 1 | -1/+1 |
| | | | |||||
* | | | Add option to Class#class_attribute for skipping the query method | Agis- | 2013-04-06 | 3 | -5/+18 |
| | | | |||||
* | | | `fast_xs` support has been removed. Use 'String#encode(xml: :attr)`. | Aaron Patterson | 2013-04-05 | 3 | -19/+2 |
| | | | |||||
* | | | Revert "Merge pull request #10034 from ↵ | Rafael Mendonça França | 2013-04-04 | 3 | -33/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | benofsky/fix_skipping_object_callback_filters" This reverts commit c79c6980647eb76bfa52178711fb04ba7e9d403b, reversing changes made to ba4c27479add60b783a0e623c8a5d176c1dc9043. This broke all the tests. See https://travis-ci.org/rails/rails/builds/6061839 | ||||
* | | | Merge pull request #10034 from benofsky/fix_skipping_object_callback_filters | Rafael Mendonça França | 2013-04-04 | 3 | -1/+33 |
|\ \ \ | | | | | | | | | Fixes skipping object callback filters | ||||
| * | | | Fixes skipping object callback filters | Ben McRedmond | 2013-04-04 | 3 | -1/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows you to skip callbacks that are defined by objects, e.g. for `ActionController`: skip_after_filter MySpecialFilter Previously this didn't work due to a bug in how Rails compared callbacks in `Callback#matches?`. When a callback is compiled, if it's an object filter (i.e. not a method, proc, etc.), `Callback` now defines a method on `@klass` that is derived from the class name rather than `@callback_id`. So, when `skip_callback` tries to find the appropriate callback to remove, `Callback` can regenerate the method name for the filter object and return the correct value for `Callback#matches?`. | ||||
* | | | | Further simplify enumerable group_by test | Carlos Antonio da Silva | 2013-04-04 | 1 | -3/+1 |
| | | | | |||||
* | | | | Replaced inject with map | Anupam Choudhury | 2013-04-04 | 1 | -2/+2 |
| | | | | |||||
* | | | | Removed unused comma after loop variable | Anupam Choudhury | 2013-04-04 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #10080 from vipulnsward/railties_warning_fix_v2 | Steve Klabnik | 2013-04-03 | 1 | -0/+1 |
|\ \ \ \ | | | | | | | | | | | add require to suppress warning; remove variable | ||||
| * | | | | add require to suppress warning; remove variable | Vipul A M | 2013-04-04 | 1 | -0/+1 |
| | | | | |