-
Original code
```
class Foo
scope :by_bar, -> {
order(Arel.sql(
{ order(Arel.sql( { order(Arel.sql(
-
It seems the release of Rails 6.1.4 broke the branch rails_6_1 of the gem.
One error is that `build_arel` changed its signature from
`def build_arel(aliases)`
to
`def build_arel(aliases =…
serch updated
3 years ago
-
### Steps to reproduce
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "rails", github: "rails/rails", branch: "main"
…
-
`undefined method eq for #`
I found there is a [closed issue](https://github.com/activerecord-hackery/ransack/issues/734) about this issue. And I have found the repro steps. The issues occurs when …
-
### Steps to reproduce
```ruby
# frozen_string_literal: true
require "bundler/inline"
gemfile(true) do
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/…
-
### Steps to reproduce
complex update with joins produce invalid sql syntax with sqlite and postgres.
the following test [it "generates an update statement with joins"](https://github.com/rails/rail…
-
For any model I try, a query like:
```
Package.selecting{}.selecting{name}.first
```
or
```
Package.selecting{nil}.selecting{name}.first
```
fails with an error:
```
Arel::Visitors::Unsuppor…
-
Search result always return empty when I use full text search with Chinese language.
PostgreSQL version is 10.5
My pg_search_scope is defined as:
```
pg_search_scope :search_full_text,
…
-
I'm tired of battling squeel and was happy to find this! But I'm completely stumped on converting this function into baby_squeel.
In my model, I have this function (it uses some postgis stuff from…
-
I'm not 100% sure if this is a problem with arel or with activerecord, but I think the fault lies with arel. I want to make a batching delete query (cuz I'm deleting a ton of stuff), and so I was goi…
ghost updated
12 years ago