Rails 4 Patterns

enroll now to play
42 Reviews
Completed Rails 4 Patterns

Learn helpful patterns and techniques for building and maintaining complex Rails applications. Make your application easily scale in size and complexity.

Course Overview

Level 1 - Models
Level 1

Level 1 - Models

1 Video - 8 Challenges

Use Models to encapsulate core business logic and avoid common ActiveRecord pitfalls.

Level 2 - Scopes and Class Methods
Level 2

Level 2 - Scopes and Class Methods

1 Video - 6 Challenges

Learn the intricacies of using class methods that run queries, and learn the benefits of using scopes.

Level 3 -  Concerns
Level 3

Level 3 - Concerns

1 Video - 4 Challenges

Review how to extract reusable code into Model and Controller concerns.

Level 4 - Decorators
Level 4

Level 4 - Decorators

1 Video - 5 Challenges

Extract view logic out of Models with Decorators.

Level 5 - ActiveModelSerializers Part 1
Level 5

Level 5 - ActiveModelSerializers Part 1

1 Video - 4 Challenges

The basics of using ActiveModelSerializers to build a JSON API.

Level 6 - ActiveModelSerializers Part 2
Level 6

Level 6 - ActiveModelSerializers Part 2

1 Video - 6 Challenges

Use ActiveModelSerializers to simplify your JSON API.

Level 7 - Fine Tuning
Level 7

Level 7 - Fine Tuning

1 Video - 5 Challenges

Speed up queries, secure user parameters and manage your processes.

Course Prerequisites

The Professors

Gregg Pollack

Gregg Pollack

Gregg is passionate about taking complex topics and teaching them efficiently. He's helped build Envy Labs, Starter Studio, and Code School. He also furthers education through BarCamp in Orlando, the Orlando Ruby Users Group, and the Orlando Tech Events newsletter.

Carlos Souza

Carlos Souza

Carlos is a software developer who is constantly looking for better ways to write code. When not making loud noises on his mechanical keyboard, he can be found rock climbing or playing music.

Teaching Assistants

Enroll yourself or your team in Code School and get unlimited access to all courses, Code TV screencasts, build your report card, and more.

42 Reviews

  • mamadoutoure

    This course is a good tool for someone who wants to write a clear and maintenable code. Decorators will definetly make life easier compared to the old view helpers. Great job guys !

  • emergia

    I really liked this one, dedicated to people which already knows and work daily with Ruby. Finally i have found solutions and interesting ideas to solve some "bad practices" which affect my work every day. I hope there will be a "part 2" soon, maybe about presenters, observers, engines and so on. thank you

  • conradwt

    This is a well thought out course and I would consider it being a followup to the Rails Best Practices course which focuses on the Rails 4 specific features. If you're ready to level up and take your Rails skill set up a notch, I would highly recommend taking this course because I have had so many OMG moments throughout the course that I'll be applying this material immediately on existing codebases. Thanks again for a course well done.

  • igmarin

    This is an excellent course to introduce yourself to the best practices in software development and how you can apply them to Rails, one of the best courses in codeschool

+ Load more reviews