-
Notifications
You must be signed in to change notification settings - Fork 784
Squeel Compatibility #462
Comments
I'm wondering the same thing. Are there any plans to support Squeel? |
Ditto, just encountered this problem when trying to upgrade to 3.1 :) |
I am also working on a Rails 3.1 app with cancan and would like to use MetaWhere/Squeel. Are there any plans to support it? |
Any update on this? Even a little bit of info as to if Squeel support is even a priority would help immensely. .accessible_by is a great feature, but MetaWhere/Squeel-like conditions are necessary for me to be able to use it on my project. |
Since MetaWhere has openly admitted they aren't supporting Rails 3, this would be really nice in CanCan 2.0 :) |
My monkey patch gist should now offer all the old MetaWhere integration capabilities with extra capability to make outer joins, using Squeel, for CanCan 1.6.7 |
Thanks @Sija for your patch! It works! |
Yep, works also for me. Would be cool if this could be merged! |
Is anything blocking this from being merged? |
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 ability definitions can't be used with raw sql. I'm guessing that Squeel functions much differently internally than how MetaWhere did.
The text was updated successfully, but these errors were encountered: