contentful_model
contentful_model copied to clipboard
Expose `where` query on model base
Right now, the #where
method exists on the Query
class but not on the base class, meaning you can call Post.all.where(...)
but not Post.where(...)
, which is weird. This PR exposes the where
method on the base class to remove this discrepancy.