-
## Describe the solution you'd like
```ruby
class ModerationComment < ApplicationRecord
# bad
scope :categories, -> { ModerationComment.where(resourceable_type: 'Category') }
scope :sites…
-
## Issue
In _some_ contexts, a boolean column can be referenced without an explicit operator, but in others an exception is raised. I'm not sure that this is intentionally allowed in any context, b…
owst updated
9 months ago
-
Rails 3.2.13, will_paginate 3.0.4
When I have a query that does grouping the result count coming from will_paginate is incorrect due to the way the query is built up for counts.
I'm thinking this ma…
-
### Steps to reproduce
```ruby
unless File.exist?('Gemfile')
File.write('Gemfile',
-
A TypeError (Cannot visit Arel::Nodes::TableAlias) is thrown when I use Model.popular_tags
This worked with squeel v 1.0.9
-
I had activerecord-multi-tenant referenced in my Gemfile but did not actually use it.
It broke when [I updated my application to Rails 7.2](https://github.com/rails/rails/issues/52657).
Removing…
-
Hi!
In this issue you can vote on the library we'll try to learn and understand on the next meetup. In the comments I'll add libraries that you suggested during today's meetup.
I think we can meet th…
-
Travis reports this warning several times:
`DEPRECATION WARNING: Dangerous query method (method whose arguments are used as raw SQL) called with non-attribute argument(s): "COUNT(term_data.tid) DES…
-
Seeing the following error. Is this not supported on Rails 5.2?
```
NoMethodError (undefined method `arel_attributes_with_values_for_create' for #)
```
kapso updated
5 years ago
-
### Steps to reproduce
Using `#with` with strings instead of relations stopped working between Rails 6.0 and 6.1. Specifically, the following commit caused the break:
https://github.com/rails/ra…