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
Building a simplified version of Instagram is a great way to learn Rails.
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.
Translate your Ruby on Rails apps.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
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
Join 41,193+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.
Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8
© 2021 GoRails, LLC. All rights reserved.