You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll be using this monkey patch until not having this feature implemented.
BabySqueel::Operators::Generic.module_evaldodefjson(name)op'->>',Arel::Nodes.build_quoted(name)endend# now i can do thisActivity.selecting{data.json(:name).eq('xzy')}
Great idea, but, I'd rather have a separate package implement JSON types and simply integrate it here. That way, users who don't use BabySqueel could reap the benefits as well. Does that make sense?
@rzane what do you think about supporting
jsonb
selectors?https://www.postgresql.org/docs/9.4/static/functions-json.html
Some ideias:
which translates to
Related discussions:
rails/arel#288
The text was updated successfully, but these errors were encountered: