- 24 1月, 2016 13 次提交
-
-
由 Akira Matsuda 提交于
-
由 Matthew Draper 提交于
Pare back default `index` option for the migration generator
-
由 Prathamesh Sonpatki 提交于
- Using `references` or `belongs_to` in migrations will always add index for the referenced column by default, without adding `index:true` option to generated migration file. - Users can opt out of this by passing `index: false`. - Legacy migrations won't be affected by this change. They will continue to run as they were before. - Fixes #18146
-
由 Matthew Draper 提交于
ActionCable Adapter tests
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
Rails::Generators::Actions#gem should work even if frozen string is passed as argument
-
由 Prathamesh Sonpatki 提交于
- Fixes #23137.
-
由 Matthew Draper 提交于
Just like their ActiveJob equivalents, these only work within the current process.
-
由 Matthew Draper 提交于
-
由 Matthew Draper 提交于
-
由 Andrew White 提交于
Because of the changes in #22967 the assumption in #18907 is no longer true because the internal metadata feature for Active Record requires a working environment.
-
由 Eileen M. Uchitelle 提交于
Define `:foreign_type` as a valid option in `SingularAssociation`
-
- 23 1月, 2016 13 次提交
-
-
由 Sean Griffin 提交于
This fixes incorrect assumptions made by e991c7b8 that we can assume the DB is already casting the value for us. The enum type needs additional information to perform casting, and needs a subtype. I've opted not to call `super` in `cast`, as we have a known set of types which we accept there, and the subtype likely doesn't accept them (symbol -> integer doesn't make sense) Close #23190
-
由 Andrew White 提交于
The Time.use_zone method will only affect ActiveSupport::TimeWithZone instances created inside of the block passed to Time.use_zone. This could be confusing when fetching a model and then reading the attribute before the block and it not changing afterwards because Active Record caches the conversion from the database value. Since changing the behavior of Active Record to recreate the value on every attribute read is an expensive operation the best we can do is to document the issue. Fixes #23195. [ci skip]
-
由 Kasper Timm Hansen 提交于
prevent --skip-action-cable from erroring when --api option is used
-
由 Dave Riddle 提交于
-
由 प्रथमेश Sonpatki 提交于
fix path of Action Cable configuration file [ci skip]
-
由 yuuji.yaginuma 提交于
This changed in #22950.
-
由 Vijay Dev 提交于
-
由 Jon Moss 提交于
Move ApplicationCable::Channel section of readme
-
由 Derek Kniffin 提交于
I believe the paragraph starting with "This relies" belongs with the one above it.
-
由 Jon Moss 提交于
Rails 5.0+ rake commands implemented in Rails Framework itself. We pr…
-
由 Matthew Draper 提交于
Use the correct reference to the redis connection
-
由 Brit Gardner 提交于
Fixes #23193 This was throwing `There was an exception - NameError(undefined local variable or method `hi_redis_conn' for #<ActionCable::SubscriptionAdapter::Redis:0x007fb1449e2b70>)` on unsubscribe.
-
由 Gaurav Sharma 提交于
Rails 5.0+ rake commands implemented in Rails Framework itself. We prefer to use bin/rails instead of rake [ci skip]
-
- 22 1月, 2016 14 次提交
-
-
由 Jon Moss 提交于
First pass over parts of Testing guide
-
由 Jon Moss 提交于
[ci skip] Add note about tsrange and timezone awareness to docs
-
由 palkan 提交于
-
由 Andrew White 提交于
rm changelog for unreleased changes fixes
-
由 Andrew White 提交于
remove `per_form_csrf_tokens` initializer from Rails API
-
由 yuuji.yaginuma 提交于
Because the form is not in the Rails API, `per_form_csrf_tokens` initializer I think unnecessary.
-
由 Vipul A M 提交于
Based on https://github.com/rails/rails/pull/23167/files#r50507317 [ci skip]
-
由 Vipul A M 提交于
- Grammar improvements - Consistent usage of you or we in sentences - Tests can have zero or more assertions. Its not mandatory to have one. - Example for assert_send [ci skip]
-
由 Kasper Timm Hansen 提交于
Remove action_cable_meta_tag when skip Action Cable
-
由 Kasper Timm Hansen 提交于
Add `config/cable.yml` to list of default files in Rails generator
-
由 Matthew Draper 提交于
Fix ActiveRecord::Relation#cache_key for loaded empty collection
-
由 Jon Moss 提交于
-
由 JuanitoFatas 提交于
-
由 Rafael França 提交于
Fix `ActionController::Parameters#==` bug
-