by José Mota
Lessons:22Length:2.7 hours

For full access to all 22 lessons, including source files, subscribe with Elements.
- 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.
1.Catch Up with Ruby on Rails 41 lesson, 07:23
1 lesson, 07:23
Free Lesson 1.1Introduction07:23
Free Lesson
1.1
Introduction
07:23
2.Controllers and Views5 lessons, 36:19
5 lessons, 36:19
Free Lesson 2.1HTML5 Form Helpers10:56
Free Lesson
2.1
HTML5 Form Helpers
10:56
2.2Collection Form Helpers07:20
2.2
Collection Form Helpers
07:20
2.3Custom Flash Types05:44
2.3
Custom Flash Types
05:44
2.4Before_action02:28
2.4
Before_action
02:28
2.5Caching09:51
2.5
Caching
09:51
3.New Features4 lessons, 33:06
4 lessons, 33:06
3.1Live Streaming11:02
3.1
Live Streaming
11:02
3.2Turbolinks10:12
3.2
Turbolinks
10:12
3.3Dynamic index.html03:14
3.3
Dynamic index.html
03:14
3.4Strong Parameters08:38
3.4
Strong Parameters
08:38
4.Active Record5 lessons, 43:13
5 lessons, 43:13
4.1PostgreSQL hstore16:32
4.1
PostgreSQL hstore
16:32
4.2PostgreSQL arrays05:36
4.2
PostgreSQL arrays
05:36
4.3ActiveModel::Model08:33
4.3
ActiveModel::Model
08:33
4.4ActiveRecord's `not` Method06:28
4.4
ActiveRecord's `not` Method
06:28
4.5Concerns in the Models06:04
4.5
Concerns in the Models
06:04
5.Router2 lessons, 09:47
2 lessons, 09:47
5.1Concerns in the Router04:57
5.1
Concerns in the Router
04:57
5.2PATCH Verb04:50
5.2
PATCH Verb
04:50
6.Upgrade4 lessons, 25:18
4 lessons, 25:18
6.1No More Plugins05:18
6.1
No More Plugins
05:18
6.2Tests03:28
6.2
Tests
03:28
6.3Gem Extractions: ActiveResource, Observers08:10
6.3
Gem Extractions: ActiveResource, Observers
08:10
6.4How to Upgrade08:22
6.4
How to Upgrade
08:22
7.Conclusion1 lesson, 04:09
1 lesson, 04:09
7.1Final Tips04:09
7.1
Final Tips
04:09
Continue watching with Elements
Continue watching with Elements