- 24 1月, 2016 6 次提交
-
-
由 Matthew Draper 提交于
-
由 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 21 次提交
-
-
由 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
-
由 Jon Moss 提交于
See bug #21032.
-
由 Rafael França 提交于
add application_mailer.rb to template of mountable engine
-
由 Jon Moss 提交于
[ci skip] fix #23157
-
由 Sean Griffin 提交于
This is a similar case to wanting ot use bind params for limit and offset. Right now passing a range grows the amount of prepared statements in an unbounded fashion. We could avoid using prepared statements in that case, similar to what we do with arrays, but there's a known number of variants for ranges. This ends up duplicating some of the logic from Arel for how to handle potentially infinite ranges, and that behavior may be removed from Arel in the future. Fixes #23074
-
由 Shakib Hossain 提交于
-
由 Kasper Timm Hansen 提交于
Fix warning introduced in API response fix
-
由 Vipul A M 提交于
- Fix warning introduced in https://github.com/vipulnsward/rails/commit/77acc004efad07dfd4d4f83be14ef897968a3fd9 when fixing API responses. - render :text is deprecated, so added an assertion for it.
-