Yasuo Honda
Yasuo Honda
As I commented at https://github.com/rails/rails/issues/45775#issuecomment-1209230585 , the original issue is due to missing/incorrect `self.primary_key` at the referenced model.
Thanks for the answer. Still I do not get what "assertion" intends here. I'm thinking about changing this document link name from "Online DDL" or "ALTER TABLE"?
Hi, I think this is related with bigint support in Rails 5.1. To create foreign keys, it looks like both data types need identical. However, `users` table `id` column is...
I'd suggest not to remove this test, it is ok to pending it tentatively. I think the correct fix is to create `entries` table primary key as `integer` not `bigint`....
Unfortunately, I am not RubyConf this year. I think activerecord-jdbc-adapter will need to change some code to support migration versions. If you have run this test at Rails 5.0 or...
Raiis has `ActiveRecord::Migration::Compatibility` module to support migration versions. https://github.com/rails/rails/blob/5-1-stable/activerecord/lib/active_record/migration/compatibility.rb This commit may help you to understand more detail. https://github.com/rails/rails/commit/3e452b12043ecfd983c6132d6eb97eb79db952b7#diff-2a8be25f82da6b3935cc6a41300a1b01
There is another issue opened at Rails rails/rails#30543 about 'ASCII-8BIT' differences between CRuby and JRuby. I do not know if they are related. FYI Here is the step to reproduce....
Here are some findings of this. I have not found the fix yet but wanted to provide them. #### Steps to reproduce: ``` $ git clone https://github.com/rails/rails.git $ cd rails/activerecord...
I'd like https://github.com/rails/rails/pull/45381/files#r899190812 discussion to be resolved between @fatkodima and @matthewd .
According to git bisect, this behavior change has been introduced via https://github.com/rails/rails/commit/700a6b216f0d6f07fc02372b421f3192ce5ded3e Just FYI, here are steps to find which commit triggers a behavior change. ``` git clone https://github.com/rails/rails cd...