Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:22Length:2.7 hours
  • Overview
  • Transcript

4.4 ActiveRecord's `not` Method

In order to prevent the use of direct SQL in your queries, one more method was introduced in the ActiveRecord query interface: the not method. This also allows for reusability in scopes.

In this lesson you will learn how to use the not method in your development.