-
So I understand that sqlite falls into a category of a 'weird db' for you, but that's what I'm currently dealing with.
The thing is logger isn't logging prepared statement's binds. The solution could …
-
I want use sidekiq with radis to increase efficiency and performance
For recalculate custom field
```
if Rails.env.production?
config.active_job.queue_adapter = :sidekiq
redis_namespace = Rail…
-
When I configure _active_record.table_name_prefix="prefix"_ on a rails3 project (activerecord/mysql), this error is generated:
_ActiveRecord::StatementInvalid (Mysql2::Error: Table 'database.audits' …
-
Managed to reproduce CI error.
https://buildkite.com/rails/rails/builds/105748#018e558b-b895-43cc-aa80-71180e80d01b/1235-1330
### Steps to reproduce
```ruby
git clone https://github.com/rails/ra…
-
As reported via [support](https://app.intercom.io/a/apps/yzor8gyw/inbox/inbox/540654/conversations/14762993501) (private Intercom link):
> As you can see the SQL reported by MSSQL is performed usin…
-
I am on rails 4. v 0.8.5 version of octopus
```
...
ar-octopus (0.8.5)
activerecord (>= 3.2.0)
activesupport (>= 3.2.0)
arel (4.0.2)
...
```
when I run rake, specifically rake db:migrate, I …
-
In `ActiveRecord` you can pass in an array of hashes where the hashes has the properties of the nodes that you want to create and it creates many at the same time. `ActiveNode` should support the sam…
-
https://api.rubyonrails.org/classes/ActiveRecord/QueryMethods.html#method-i-includes
Would be a huge performance improvement. Traverse `ActiveRecord::Reflection::AbstractReflection` inclusions and …
-
SQL Only Story
For this story, you should write your queries in raw sql. You can use the ActiveRecord find_by_sql method to execute raw sql queries: https://guides.rubyonrails.org/active_record_que…
-
### Steps to reproduce
In ActiveRecord 7.1, a new option was added to [ActiveRecord::Batches#in_batches](https://api.rubyonrails.org/classes/ActiveRecord/Batches.html#method-i-in_batches), `use_ran…