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.
Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models
Techniques for taking your database models and using attributes to generate pretty urls
A look into how pagination works from scratch and how to use will_paginate
Learn how to keep track of your database models and attributes with comments in your application
The first part of the Forum series, we talk about how the database and structure of the forum is designed
Learn how to use accepts_nested_attributes_for and fields_for to create forms that include associated models in them
Learn how to set up polymorphic associations, add comments to your app, and think about the structure of your Rails application
Learn how to soft delete records instead of deleting them permanently from your database
James from Shakycode and I pair program on some common model scopes related to time and how we would approach them
Learn how to use the state_machine gem to keep track of objects in your Rails apps
Learn how you can use virtual attributes to make forms cleaner and how the Rails 5 attribute API can save you a bunch of time
Learn how to use a template model to populate forms and other objects with
Learn how to use ActiveRecord Explain to analyze your SQL queries generated by ActiveRecord
Add various types of charts to your Rails app with Chartkick and use Groupdate to make easy group queries in SQL
Deciding whether or not to have separate first and last name fields gets a bit confusing. Basecamp's recently released name_of_person gem shows you exactly how to handle this reliably and also stands as a fantastic example of how to build a concern
Mentioning Users with an @mention is a super common feature. Trix and ActionText are now part of Rails 6 which means we can very easily add support for tagging users with @mentions and other custom attachments in your applications.
With Rails 6.0, you can now define multiple primary and replica databases, define separate migrations for each primary database, and configure each model to read and write from different databases.
Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails
We can use timestamps in our database to track of online users in your Rails
Drag and drop sortable lists in Rails aren't too hard using Sortablejs and Stimulus to make wire them up to our backend with acts_as_list
Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.