Lessons:24Length:2.4 hours

For full access to all 24 lessons, including source files, subscribe with Elements.
- Overview
- Transcript
2.2 Tweaking the User Model
Now that we’ve generated our user model, it’s time to add the validations to the model. We also need to make sure that our passwords will be stored securely: not as plaintext, but as hashes. With ActiveRecord’s 'has_secure_password' feature, this is a cinch.
1.Beginnings4 lessons, 18:14
4 lessons, 18:14
Free Lesson 1.1Introduction02:03
Free Lesson
1.1
Introduction
02:03
Free Lesson 1.2Generating the App05:31
Free Lesson
1.2
Generating the App
05:31
1.3Adding Styling04:58
1.3
Adding Styling
04:58
1.4Creating the Application Template05:42
1.4
Creating the Application Template
05:42
2.User Accounts4 lessons, 31:14
4 lessons, 31:14
2.1Generating the User Resource06:09
2.1
Generating the User Resource
06:09
2.2Tweaking the User Model09:25
2.2
Tweaking the User Model
09:25
2.3Creating New Users08:11
2.3
Creating New Users
08:11
2.4Showing User Profiles07:29
2.4
Showing User Profiles
07:29
3.Session Support2 lessons, 11:24
2 lessons, 11:24
3.1Generating the Session Controller03:54
3.1
Generating the Session Controller
03:54
3.2Adding Logging In and Out to the UI07:30
3.2
Adding Logging In and Out to the UI
07:30
4.Creating Ribbits6 lessons, 31:40
6 lessons, 31:40
4.1Creating the Ribbit Resource04:54
4.1
Creating the Ribbit Resource
04:54
4.2Associating the Users and Ribbits03:21
4.2
Associating the Users and Ribbits
03:21
4.3Creating the New Ribbit Form04:26
4.3
Creating the New Ribbit Form
04:26
4.4Saving Ribbits06:48
4.4
Saving Ribbits
06:48
4.5Creating the Public Ribbits Page06:07
4.5
Creating the Public Ribbits Page
06:07
4.6Counting Ribbit Characters06:04
4.6
Counting Ribbit Characters
06:04
5.Creating Relationships3 lessons, 19:06
3 lessons, 19:06
5.1Starting the Relationship05:43
5.1
Starting the Relationship
05:43
5.2Adding the Follow Button06:49
5.2
Adding the Follow Button
06:49
5.3Wiring Up to Follow Feature06:34
5.3
Wiring Up to Follow Feature
06:34
6.Finishing Up5 lessons, 29:27
5 lessons, 29:27
6.1Listing all the Users06:52
6.1
Listing all the Users
06:52
6.2Creating the Buddies' Ribbits Page07:56
6.2
Creating the Buddies' Ribbits Page
07:56
6.3Adding Profile Editing09:20
6.3
Adding Profile Editing
09:20
6.4Deploying to Heroku04:48
6.4
Deploying to Heroku
04:48
6.5Conclusion00:31
6.5
Conclusion
00:31
Continue watching with Elements
Continue watching with Elements