rails
rails copied to clipboard
Ruby on Rails
Document nodes are opaque outside of the adapter. This lets us drop in different document models as necessary. ### Summary ### Other Information
### Steps to reproduce * Start rails server and let ActionCable establish a connection to Redis. * Restart/Stop the Redis instance. ### Expected behavior If the connection between ActionCable and...
### Steps to reproduce `Record#dup` adds this additional new record to associations this record belongs to when `inverse_of` specified. So when parent association is saved, it saves this duplicated record....
Resolve https://github.com/rails/rails/issues/43728. I changed the Content-Type parser as I originally tried to do at https://github.com/rails/rails/pull/35549#discussion_r263994946 to allow charset to appear in any order.
In my Rails 6 app, I tried to return CSV data with header as a response like this: ```ruby class MyController < ApplicationController def show send_data( csv_with_header, type: "text/csv; charset=utf-16;...
### Summary Provides an ingress for Amazon SES/SNS. Includes: * `/rails/action_mailbox/amazon/inbound_emails` ingress route * Signature verification * Auto-subscribe * Permitted SNS topic configuration Tests for all of the above are...
This PR is split into two commits. The 1st commit allows records from already-loaded relations to be used when performing post-hoc preloads of downstream associations. The 2nd commit modifies the...
Hello All! I have an old Rails project I am converting over to the "latest" way of loading javascript/images/etc. I created a new project using rails new . git -d...
related tests are in activerecord/test/cases/migrator_test.rb, but it checks puts(message_count) quantity only. ### Summary I noticed that Migration's `#say` and `#say_with_time` methods didn't have explicit tests so this should increase test...
### Summary Provides a wrapper for `new`, to provide feature parity with `create`s ability to create multiple records from an array of hashes, using the same notation as the `build`...