-
I need to modify the default condition for master db selection in my application based on some cached value. I have defined a custom proxy class as mentioned in documentation in config/initializers di…
-
Is there a simple way to get audit entries by user? As in the value in the user_id column?
The current "hack" looks like this:
```
Audited::Adapters::ActiveRecord::Audit.where(:user_id => 1)
```
I…
-
With ActiveRecord 3, I get the following error when trying to connect:
/Users/jason/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:22:in `mys…
-
Upgrade gems to latest version
-
I've used DatabaseCleaner for several years (thanks!) without issues. But my current setup seems to not work properly.
Basic setup:
- Grape 0.19.2
- ActiveRecord 5.1.3 (+ otr-activerecord 1.2.4…
-
Can multi_db support the following scenario?
In this example multi_db works just fine for the user model. However, multi_db either ignores or overrides the establish_connection call made in the Team …
-
I've been trying to get this working for a while now and can't seem to figure out what the deal activerecord-jdbcmysql-adaptor is with this gem.
After installing the parallel_tests gem and configu…
-
### Steps to reproduce
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "rails"
# If you want to test against edge R…
-
root@MongiUbu:/var/lib/gems/2.2.0/gems/mongify-1.3.2# mongify sy database.config translation.rb
/var/lib/gems/2.2.0/gems/activerecord-4.2.10/lib/active_record/connection_adapters/mysql_adapter.rb:3 …
-
### Steps to reproduce
Uniqueness validation prevents deleting an existing record and creating a new one in a single update when using nested attributes. This looks to be similar to [#20676](https:…