First time using Mongoid on a Rails project. What does the extension .ne represent in a scoping method like so:
scope :subscribed, -> {
where( :unsubscribed.ne => true )
}
It's the selection operation for "not equal".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With