Thanks for this project! We use it extensively at JobScore and love it.
I'd like to request something, though. Scopes work in isolation, but you can't use more than one together, which works in ActiveRecord and is extremely convenient. Could this possibly be implemented?
class Vehicle
scope :car, -> { where(type: 'car' }
scope :motorized, -> { where(motorized: true}
end
> Vehicle.car.motorized
NoMethodError: undefined method `motorized' for #<ActiveHash::Relation:0x000000010732d9c8>
Hey there!
Thanks for this project! We use it extensively at JobScore and love it.
I'd like to request something, though. Scopes work in isolation, but you can't use more than one together, which works in ActiveRecord and is extremely convenient. Could this possibly be implemented?