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.
Building the controllers and actions for our Web Scrapper application lets us interact with Rails to add and remove Pages and view the results as they're generated.
Adam McCrea walks through using Phlex to build components for views in your Rails applications. Phlex is a Ruby gem for building fast object-oriented HTML and SVG components using Ruby constructs: methods, keyword arguments and blocks.
Ever wondered how ViewComponent or Phlex works with Rails to build components? Rails has a method called render_in that any object can implement to build custom render functionality like components.
CSS Variables or CSS custom properties allow you to define variables that can be used throughout your CSS to change properties and their values dynamically. It's a wonderful feature for allowing users to customize the look of your website.
Flash messages are typically a simple string saying something succeeded or failed. What if we wanted to add buttons like you see in most applications? It's easier than you might think!
Learn how to add support for Accelerated Mobile Pages (AMP) from Google to Ruby on Rails in this tutorial
Learn how to link to the current page and add, remove, or modify params in the URL. This is handy for things like search or index pages with filters.
Adding pagination to our nested comment threads is easier than you might think, plus we'll take a look at a couple different approaches we can use
Nested comment threads pose a lot of unique challenges. One of these is deleting comments because you can easily lose the child comments or context. We'll take a look at a couple great ways of handling this.
Using AJAX, we can submit our comments and have them render onto the page without a page refresh.
Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads
How to build nested comments and threads in Ruby on Rails
Pagy is 29x faster at pagination in their benchmarks which makes it an ultra fast and lightweight pagination library
Taking the ERB code we wrote for simple_calendar and finding the right balance of Ruby and ERB for our gem
Learn how to build an activity feed from scratch and how to manage lots of flexible partials
The div_for method gives you easy access to creating id's and classes for your ActiveRecord objects in the views. It also makes for easy access to elements with CSS and Javascript.
Using instance variables we can send data between controllers and views and take a look at how that works
Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.