squeel icon indicating copy to clipboard operation
squeel copied to clipboard

Active Record, improved. Live again :)

Results 82 squeel issues
Sort by recently updated
recently updated
newest added

Gem Load Error is: undefined method `alias_method_chain' for # Did you mean? alias_method Backtrace for gem load error this error arrised the after i added the gem "Squeel"

Ernie mentioned in mid 2016 that he was happy to put a reference to baby_squeel in the project if the maintainers were no longer willing to maintain this project https://github.com/activerecord-hackery/squeel/issues/412....

Since polyamorous 1.1.0 [differs from 1.2.0](activerecord-hackery/polyamorous@ca95023) only by the version number and the README file, it's perfectly unacquired to simply change the dependency version. Copied from [5bf84bd](activerecord-hackery/squeel@5bf84b) which is not...

I have a column of type String in the User model, this column is an array that is saved as a string. I need to check if there is an...

It's entirely possible that the title isn't comprehensive enough, but it's a close start... For full reproduction, check out [my repo with all the models](https://github.com/shepmaster/reproduce-squeel-issues/blob/e57086abfda07e80449b6e9185a19fcb32d179c4/app/models/user.rb). ### Synopsis I have a...

In Viewing

While trying to reproduce #343, I ran into another error. You can use [the same repo](https://github.com/shepmaster/reproduce-squeel-issues/blob/e57086abfda07e80449b6e9185a19fcb32d179c4/app/models/user.rb) to reproduce the problem. ``` ruby has_many :children, class_name: 'User', foreign_key: :parent_id, inverse_of: :parent...

In Viewing

Example to reproduce: ``` ruby class User < ActiveRecord::Base sifter(:anonymous) { email == nil } end class Post < ActiveRecord::Base belongs_to :user end ``` This code will fail: ``` ruby...

Maybe Fixed

On a large production application, we're noticing about a 15-20% performance difference in ActiveRecord, even when squeel syntax is not in the query. Would the maintainers be open to some...

i have this query where{((valid_from >= my{date}) | (valid_from.nil?)) & ((valid_to

First of all, the problem starts with a duplication on sql condition on rails 4.2, when i call the same scope twice. Following this issue https://github.com/rails/rails/issues/21626 When i updated my...