EugZol / where_exists

Adds the power of SQL Exists to ActiveRecord
MIT License
110 stars 18 forks source link

Depend on activerecord directly, not Rails #24

Closed rainhead closed 2 years ago

rainhead commented 2 years ago

WhereExists extends ActiveRecord. It is not a Railtie, and has nothing to do with the rest of Rails. Depending on ActiveRecord by way of Rails means that consumers of WhereExists must bring in the entirety of Rails, and not just the gems we use. Let's depend on ActiveRecord directly.

EugZol commented 2 years ago

@rainhead Thanks! Pushed that as version 2.0.1.