-
Is/Will CanCan be compatible with Squeel, the successor to MetaWhere now that MetaWhere is not compatible with Rails 3.1? I'm trying to pass a comparison as a hash, but CanCan still complains that abi…
-
-
I am using "squeel"
I add hydra_attributes and the following code that is "squeel" specific no longer works.
User.order("created_at").where{created_at >= my{first_registration} }
I do not expect hyd…
-
I know - this is not Squeel.....I am using Squeel, and am trying to update my ransack gem - unfortunately ransack uses a newer version of the polyamorous gem and Squeel is stuck on the 1.1.0 version. …
-
'Order' has_one 'Schedule', 'Schedule' belongs_to 'Order'
Order has a scope called 'active' ( active => true )
How do i reuse that scope in the following scope in Schedule ?
scope :xyz, -> {
wher…
-
I'm trying to achieve:
``` sql
SELECT instances.*,
count("instance_users"."id") AS user_count,
count("courses"."id") AS course_count
FROM "instances"
LEFT OUTER JOIN "instance_users" ON "…
-
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…
-
#### Issue
Is it possible to use baby_squeel to create subqueries similar to the ones we have on Squeel?
I cannot find any documentation on this and we are trying to move from Squeel to Baby Squ…
-
I have the following scope:
```
def self.ready_to_be_reauthorized …
-
A TypeError (Cannot visit Arel::Nodes::TableAlias) is thrown when I use Model.popular_tags
This worked with squeel v 1.0.9