How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
A few of the Open Source projects we do at GoRails.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
Common Ruby on Rails design patterns for organizing your code
Learn what the Decorator design pattern does and how to implement it from scratch
Implement the decorator pattern with the Draper gem in your Rails application
See how you can use a form object to improve the way you implement custom and complex forms in Rails
Often times you hear people say using callbacks and adding dependencies are always bad. Life's not that simple and in this episode we explore when to use callbacks and when it makes sense to add gem dependencies to your app.
Dependency Injection is a common technique for making your code more flexible and testable by removing strict dependencies upon other classes, modules, and other types of dependencies in your code
Building a gem can be complicated. Often times you're writing abstract, meta code so it can be used flexibly in situations you'll never imagine. We'll talk about the architecture and design of the noticed gem and how it all works.
We look at using the built in SimpleDelegator class to easily create decorators for objects.
In this episode, we will dip our toes into an Object Oriented Design Principle known as the Law of Demeter. We will then look at an example of a small violation of this principle followed by a couple of solutions to remedy the issue.
You might not realize your code has concepts that need to be extracted. Sometimes it's as simple as a small decorator around a Ruby class as we'll see in this lesson.
Learn what a state machine is and how it can help you keep track of everything
Learn how to pull business logic out of your models and put them into Plain Old Ruby Objects (POROs) in order to clean up your code and keep chunks of business logic in reusable bits.