Ruby

Rails 4 Patterns

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

Enroll Now to Play

Course Overview

  1. Level 1 on Rails 4 Patterns

    Level 1 Free Level 1 Video | 9 Challenges
    Models

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

  2. Level 2 on Rails 4 Patterns

    Level 2 1 Video | 6 Challenges
    Scopes and Class Methods

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

  3. Level 3 on Rails 4 Patterns

    Level 3 1 Video | 5 Challenges
    Concerns

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

  4. Level 4 on Rails 4 Patterns

    Level 4 1 Video | 6 Challenges
    Decorators

    Extract view logic out of Models with Decorators.

  5. Level 5 on Rails 4 Patterns

    Level 5 1 Video | 4 Challenges
    ActiveModelSerializers 1

    The basics of using ActiveModelSerializers to build a JSON API.

  6. Level 6 on Rails 4 Patterns

    Level 6 1 Video | 7 Challenges
    ActiveModelSerializers 2

    Use ActiveModelSerializers to simplify your JSON API.

  7. Level 7 on Rails 4 Patterns

    Level 7 1 Video | 7 Challenges
    FineTuning

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

Completed Rails 4 Patterns

Complete these levels to unlock

Course Completion Badge

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

Supplemental Learning

Recommended Prerequisites

About The Professors

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.

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.

View Full Credits

Course Notes

  • Estimated Course Length: 4 - 5 hours

Course Reviews (42)

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