aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | Use just one redis connectionPratik Naik2015-02-071-5/+6
| | | | | | |
| | * | | | | Add a Server#disconnect callbackPratik Naik2015-02-051-0/+1
| | | | | | |
| | * | | | | Generic Worker#invoke methodPratik Naik2015-02-052-10/+4
| | | | | | |
| | * | | | | Helper method for worker_poolPratik Naik2015-02-052-3/+12
| | | | | | |
| | * | | | | Configurable worker pool sizePratik Naik2015-02-052-5/+10
| | | | | | |
| | * | | | | Update the gemspecPratik Naik2015-02-053-5/+8
| | | | | | |
| | * | | | | EM epollPratik Naik2015-02-051-0/+3
| | | | | | |
| | * | | | | Run periodic timers via the worker poolPratik Naik2015-02-052-2/+10
| | | | | | |
| | * | | | | No cramp and use celluloid workers to run callbacksPratik Naik2015-02-057-16/+59
| | |/ / / /
| | * | | | Add a disconnect callbackDavid Heinemeier Hansson2015-01-311-1/+7
| | | | | |
| | * | | | Add support for redis channelsPratik Naik2015-01-193-0/+34
| | | | | |
| | * | | | Fix unsubscribe callbacksPratik Naik2015-01-191-1/+1
| | | | | |
| | * | | | No need for matching paramsPratik Naik2015-01-191-3/+1
| | | | | |
| | * | | | Use instance_exec to invoke the lambda callbackPratik Naik2015-01-171-1/+1
| | | | | |
| | * | | | More API changesPratik Naik2015-01-173-7/+10
| | | | | |
| | * | | | Use underscored class name as the default channel namePratik Naik2015-01-172-1/+5
| | | | | |
| | * | | | Always pass the channel broadcast in message keyPratik Naik2015-01-161-1/+1
| | | | | |
| | * | | | Initialize subscriptions as early as possiblePratik Naik2015-01-161-2/+3
| | | | | |
| | * | | | Specify channel name as an attributePratik Naik2015-01-152-2/+8
| | | | | |
| | * | | | Add some tests. Work in progress. Testing websockets is hard.Pratik Naik2015-01-155-0/+117
| | | | | |
| | * | | | Latest gems and fix a callback bugPratik Naik2015-01-154-1/+62
| | | | | |
| | * | | | Rename publish to broadcastPratik Naik2015-01-152-3/+3
| | | | | |
| | * | | | Action Cable take#1Pratik Naik2015-01-148-0/+213
| | / / /
* | | | | Merge pull request #22619 from akshay-vishnoi/grammar-fixesClaudio B2015-12-161-6/+6
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] Fix grammar and sentence framing
| * | | | | [ci skip] Fix grammar and sentence framingAkshay Vishnoi2015-12-171-6/+6
| | |_|_|/ | |/| | |
* | | | | Merge pull request #22616 from gfvcastro/test-ruby-2-2-4Rafael França2015-12-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Test against Ruby 2.2.4 on Travis.
| * | | | | Test against Ruby 2.2.4 on Travis.Gustavo Villa2015-12-161-1/+1
| | | | | |
* | | | | | Merge pull request #22618 from y-yagi/fix_method_name_typoRafael França2015-12-171-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | fix typo in method name [ci skip]
| * | | | | fix typo in method name [ci skip]yuuji.yaginuma2015-12-171-1/+1
|/ / / / / | | | | | | | | | | | | | | | It was changed by mistake at 428d47adfed8d6aa7b21aec2bf5ad890961c9de3
* | | | | Revert "Merge pull request #22615 from ↵Rafael Mendonça França2015-12-173-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kamipo/join_to_delete_is_same_as_join_to_update" This reverts commit 4d06ea9a829de8f6f5a345589828e182eacab6a3, reversing changes made to e9d15072a94e2ae4dec5b7a121c84a5db38547b8. Reason: This will break oracle-enhanced, see https://github.com/rsim/oracle-enhanced/blob/3c42131db82b64ac41645db3affc6e4650289df6/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb#L1254
* | | | | Merge pull request #22615 from kamipo/join_to_delete_is_same_as_join_to_updateRafael França2015-12-173-11/+5
|\ \ \ \ \ | |/ / / / |/| | | | `join_to_delete` is same as `join_to_update`
| * | | | `join_to_delete` is same as `join_to_update`Ryuta Kamizono2015-12-173-11/+5
| | | | |
* | | | | Merge pull request #22592 from nwjsmith/disable-logger-message-broadcastsEileen M. Uchitelle2015-12-163-23/+40
|\ \ \ \ \ | | | | | | | | | | | | Add Logger option to disable message broadcasts
| * | | | | Add Logger option to disable message broadcastsNate Smith2015-12-163-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When setting the Rails logger to log to STDOUT, it would broadcast the log twice in development. This adds a setting that will prevent messages from being broadcast to multiple logs, while still allowing calls to `#close`, `#level=`, `#progname=`, and `#formatter=` to be broadcasted. Fixes #14769, #11415
* | | | | | Make sure File.exist? run in the root of the applicationRafael Mendonça França2015-12-161-1/+5
| | | | | |
* | | | | | Do not define attributes_with_index as a Thor taskRafael Mendonça França2015-12-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All public methods are tasks, so we need to move it to protected visibility.
* | | | | | Remove dead codeRafael Mendonça França2015-12-161-4/+0
| | | | | |
* | | | | | Don't over-specify types in our testsSean Griffin2015-12-161-1/+0
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test was failing when run on Windows using PostgreSQL. Depending on the OS (and 32 vs 64 bit), this type could be a `BigNum`. We could loosen the assertion to `Numeric`, but if the value is equal to the expected, and responds to `bitlength` properly, who cares?
* | | | | Add mysql back to the GemfileSean Griffin2015-12-162-2/+2
| | | | | | | | | | | | | | | | | | | | I didn't mean to commit that!
* | | | | Fix test failures on WindowsSean Griffin2015-12-162-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike unix, the TZ variable on Windows does not look at a database. It is always expected to be in the form {Standard Time Abbreviation}{UTC-Offset}{Daylight Time Abbriviation}. This changes the relevant tests to use the Windows form when run from Windows.
* | | | | Fix documentation about ApplicationRecordRafael Mendonça França2015-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | Merge pull request #22506 from derekprior/dp-redirect_to_back_or_defaultSean Griffin2015-12-165-12/+80
|\ \ \ \ \ | | | | | | | | | | | | Add `redirect_to_back_or_default`
| * | | | | Deprecate `redirect_to :back`Derek Prior2015-12-164-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications that use `redirect_to :back` can be forced to 500 by clients that do not send the HTTP `Referer` (sic) header. `redirect_back` requires the user to consider this possibility up front and avoids this trivially-caused application error.
| * | | | | Add `redirect_back` for safer referrer redirectsDerek Prior2015-12-165-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `redirect_to :back` is a somewhat common pattern in Rails apps, but it is not completely safe. There are a number of circumstances where HTTP referrer information is not available on the request. This happens often with bot traffic and occasionally to user traffic depending on browser security settings. When there is no referrer available on the request, `redirect_to :back` will raise `ActionController::RedirectBackError`, usually resulting in an application error. `redirect_back` takes a required `fallback_location` keyword argument that specifies the redirect when the referrer information is not available. This prevents 500 errors caused by `ActionController::RedirectBackError`.
* | | | | | Fix test failure on WindowsSean Griffin2015-12-161-6/+10
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this test was run on Windows, the database file would still be in use, and `File.unlink` would fail. This would cause the temp directory to be unable to be removed, and error out. By disconnecting the connection when finished, we can avoid this error.
* | | | | Merge branch 'sprockets-3'Rafael Mendonça França2015-12-165-58/+40
|\ \ \ \ \
| * | | | | Use sprockets 3 in the Rails 5 releaseRafael Mendonça França2015-12-165-57/+46
| | | | | |
* | | | | | Merge pull request #22556 from imanel/range_prependKasper Timm Hansen2015-12-161-10/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use Module.prepend instead of alias_method for Range#to_s
| * | | | | | Use Module.prepend instead of alias_method for Range#to_sBernard Potocki2015-12-161-10/+7
| | | | | | |
* | | | | | | Merge pull request #17845 from gsamokovarov/qualified-constRafael França2015-12-163-74/+107
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Don't leak Object constants in core_ext/module/qualified_const