Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include the action cable URL meta tag by default | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+3 |
| | |||||
* | Require tree | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Simpler directory structure | David Heinemeier Hansson | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | Note that changes to the cable setup requires restarting the server | David Heinemeier Hansson | 2015-12-16 | 3 | -0/+3 |
| | |||||
* | @App could have been set elsewhere | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Another stab at only mounting redis if the config is there | David Heinemeier Hansson | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | Assume that the cable server is running in-process by default, offer option ↵ | David Heinemeier Hansson | 2015-12-16 | 2 | -0/+5 |
| | | | | to change that in config/environments/production.rb | ||||
* | Fix parent class | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Fix the engine reference | Rafael Mendonça França | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Doh, should have read ff370ee61754b00f864f3ddd0af62be4dfa0de67 | David Heinemeier Hansson | 2015-12-16 | 2 | -2/+2 |
| | | | | Indeed we need this to be an engine for the internal assets to work | ||||
* | Only initialize redis if the config file is there | David Heinemeier Hansson | 2015-12-16 | 1 | -5/+5 |
| | |||||
* | Another bad reference to engine instead of railtie | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Include changes made to the engine | David Heinemeier Hansson | 2015-12-16 | 1 | -0/+5 |
| | |||||
* | Move Cable to ActionCable for client-side constant to avoid conflicts | David Heinemeier Hansson | 2015-12-16 | 8 | -49/+49 |
| | |||||
* | We are using railtie, not engine | David Heinemeier Hansson | 2015-12-16 | 3 | -37/+2 |
| | |||||
* | Basic channel generator | David Heinemeier Hansson | 2015-12-15 | 7 | -0/+101 |
| | |||||
* | Move the require to the right place | Rafael Mendonça França | 2015-12-15 | 2 | -2/+1 |
| | |||||
* | Remove the default logger | Rafael Mendonça França | 2015-12-15 | 1 | -1/+0 |
| | | | | It should be configured through the railtie | ||||
* | Configure the Action Cable's redis in the engine | Rafael Mendonça França | 2015-12-15 | 3 | -23/+7 |
| | | | | This will decouple Action Cable from Rails. | ||||
* | Accept a Pathname in Application#config_for | Rafael Mendonça França | 2015-12-15 | 2 | -1/+20 |
| | | | | That would make possible to use it with action cable configuration. | ||||
* | Add Action Cable to README.md of Rails | claudiob | 2015-12-15 | 1 | -1/+3 |
| | | | | [ci skip] Link to actioncable/README.md for more details | ||||
* | Remove rails/actioncable Travis badge | claudiob | 2015-12-15 | 1 | -2/+1 |
| | | | | | | | | | | [ci skip] Since Action Cable is getting integrated into rails/rails, the Travis badge for rails/actioncable is not needed anymore. Also following the standard of every other README to have `--` rather than `-` to separating the name of the library from its description. | ||||
* | Merge remote-tracking branch 'origin/master' into merge-action-cable | Rafael Mendonça França | 2015-12-15 | 75 | -165/+419 |
|\ | |||||
| * | Merge pull request #22596 from y-yagi/remove_extra_space_from_deprecation_msg | Eileen M. Uchitelle | 2015-12-15 | 2 | -2/+5 |
| |\ | | | | | | | remove extra spaces from deprecation message | ||||
| | * | remove extra spaces from deprecation message | yuuji.yaginuma | 2015-12-15 | 2 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` # before DEPRECATION WARNING: Time columns will become time zone aware in Rails 5.1. This still causes `String`s to be parsed as if they were in `Time.zone`, and `Time`s to be converted to `Time.zone`. To keep the old behavior, you must add the following to your initializer: config.active_record.time_zone_aware_types = [:datetime] To silence this deprecation warning, add the following: config.active_record.time_zone_aware_types << :time ``` ``` # after DEPRECATION WARNING: Time columns will become time zone aware in Rails 5.1. This still causes `String`s to be parsed as if they were in `Time.zone`, and `Time`s to be converted to `Time.zone`. To keep the old behavior, you must add the following to your initializer: config.active_record.time_zone_aware_types = [:datetime] To silence this deprecation warning, add the following: config.active_record.time_zone_aware_types << :time ``` | ||||
| * | | Merge pull request #22595 from sstephenson/fragment_cache_key | David Heinemeier Hansson | 2015-12-15 | 4 | -11/+77 |
| |\ \ | | | | | | | | | Controller-wide fragment cache key prefixes | ||||
| | * | | Add fragment_cache_key macro for controller-wide fragment cache key prefixes | Sam Stephenson | 2015-12-14 | 2 | -3/+67 |
| | | | | |||||
| | * | | Remove ActionView::Helpers::CacheHelper#fragment_cache_key | Sam Stephenson | 2015-12-14 | 3 | -8/+10 |
| | |/ | | | | | | | | | | | | | | | | Introduced in e56c63542780fe2fb804636a875f95cae08ab3f4, `CacheHelper#fragment_cache_key` is a duplicate of `ActionController::Caching::Fragments#fragment_cache_key`. We now require the view to provide this method on its own (as with `view_cache_dependencies`); `ActionController::Caching::Fragments` exports its version as a `helper_method`. | ||||
| * | | Merge pull request #21538 from matthewd/migration-version | Matthew Draper | 2015-12-15 | 57 | -136/+226 |
| |\ \ | | | | | | | | | Add migration versioning via Migration subclasses | ||||
| | * | | Use a real migration version number in docs | Matthew Draper | 2015-12-15 | 9 | -54/+54 |
| | | | | | | | | | | | | | | | | | | | | Even though this means more things to change when we bump after a release, it's more important that our examples are directly copyable. | ||||
| | * | | Schema uses current migration API | Matthew Draper | 2015-12-15 | 1 | -1/+1 |
| | | | | |||||
| | * | | In 4.2 migrations, `timestamps` defaulted to `null: true` | Matthew Draper | 2015-12-15 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | .. it also showed a deprecation warning, but we obviously needn't retain that. | ||||
| | * | | Find the delegate, even in a deeper inheritance tree | Matthew Draper | 2015-12-15 | 1 | -1/+5 |
| | | | | |||||
| | * | | Internal test migrations use the private 'Current' version | Matthew Draper | 2015-12-15 | 40 | -64/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apart from specific versioning support, our tests should focus on the behaviour of whatever version they're accompanying, regardless of when they were written. Application code should *not* do this. | ||||
| | * | | Ensure generated migrations include a version number | Matthew Draper | 2015-12-15 | 3 | -14/+14 |
| | | | | |||||
| | * | | Use a deliberately-invalid migration version in all doc examples | Matthew Draper | 2015-12-15 | 9 | -54/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we use a real version, at best that'll be an onerous update required for each release; at worst, it will encourage users to write new migrations against an older version than they're using. The other option would be to leave these bare, without any version specifier. But as that's just a variant spelling of "4.2", it would seem to raise the same concerns as above. | ||||
| | * | | Add migration versioning via Migration subclasses | Matthew Draper | 2015-12-15 | 5 | -2/+64 |
| |/ / | |||||
| * | | Ensure uuid-ossp extension is present before we rely on it | Matthew Draper | 2015-12-15 | 1 | -0/+2 |
| | | | |||||
| * | | Fix travis matrix | Rafael Mendonça França | 2015-12-14 | 1 | -1/+1 |
| | | | |||||
| * | | Add ruby-head back in the allow failures group | Rafael Mendonça França | 2015-12-14 | 1 | -0/+1 |
| |/ | | | | | | | Travis still don't have a updated version | ||||
| * | Do now allow failures with Ruby 2.3 anymore | Rafael Mendonça França | 2015-12-14 | 1 | -2/+0 |
| | | |||||
| * | Test with Ruby 2.3.0 | Rafael Mendonça França | 2015-12-14 | 1 | -0/+1 |
| | | |||||
| * | Merge pull request #22564 from maximeg/legit_name_errors | Sean Griffin | 2015-12-14 | 2 | -2/+45 |
| |\ | | | | | | | Don't catch all NameError to reraise as ActionController::RoutingError | ||||
| | * | Don't catch all NameError to reraise as ActionController::RoutingError #22368 | Maxime Garcia | 2015-12-12 | 2 | -2/+45 |
| | | | |||||
| * | | Revert "Perform a more efficient query in `Relation#any?`" | Sean Griffin | 2015-12-14 | 3 | -8/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6d5b1fdf55611de2a1071c37544933bb588ae88e. `eager_load` and `references` can include hashes, which won't match up with `references` A test case has been added to demonstrate the problem | ||||
| * | | Merge pull request #22561 from Cleggameg/patch-2 | Rafael Mendonça França | 2015-12-14 | 1 | -2/+2 |
| |\ \ | | | | | | | | | | | | | Update seeds.rb.tt | ||||
| | * | | Update seeds.rb.tt | Paul Clegg | 2015-12-14 | 1 | -2/+2 |
| |/ / | | | | | | | | | | Rahm Emanuel doesn't deserve to be in Rails. | ||||
| * | | Merge pull request #22395 from avokhmin/becomes-errors-base-2 | Sean Griffin | 2015-12-14 | 4 | -2/+43 |
| |\ \ | | | | | | | | | `ActiveRecord::Base#becomes` should copy the errors | ||||
| | * | | `ActiveRecord::Base#becomes` should copy the errors | Vokhmin Alexey V | 2015-12-14 | 4 | -2/+43 |
| | | | | |||||
| * | | | Perform a more efficient query in `Relation#any?` | Sean Griffin | 2015-12-14 | 2 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was changed in 421c81b, as `exists?` blows up if you are eager loading a polymorphic association, as it'll try to construct a join to that table. The previous change decided to execute a `count` instead, which wouldn't join. Of course, the only time we actually need to perform a join on the eager loaded values (which would perform a left outer join) is if they're being referenced in the where clause. This doesn't affect inner joins. |