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.
Find your next Ruby on Rails Job.
Contributing to Rails is everyone's dream. This episode we'll walk through how you can find a bug or feature to add to Rails, how to browse through the source code, add your feature and test it.
Add onboarding steps for new users and show their completion progress so they can check items off the list, learn how your product works, and get the most out of it.
The HaveIBeenPwned Password API lets us enforce strong passwords and warn users their password has been in a data breach
Don't like Cocoon or it's jQuery dependency? We can use Stimulus JS and build dynamic nested forms in Rails with accepts_nested_attributes_for from scratch pretty easily!
Autosaving draft records allows you to make sure users don't lose their work and can easily write draft content without publishing right away. We'll be using Stimulus to build an autosave controller for our form and Draftsman to power the backend.
Security in production is important. We can use Fail2ban and NGINX to block malicious users from accessing our server and apps.
Cross-origin Resource Sharing (CORS) allows your website to talk to other websites.
Starting our Embeddable JS Widget series outlining the comment and discussion models and the basic webpacker setup
Learn how to add sidebar search filters like Amazon.com using ElasticSearch's aggregations in Searchkick
Learn how to implement a Slack Slash Command App in Rails using webhooks
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
Join 69,840+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our
Icons by Icons8
© 2023 GoRails, LLC. All rights reserved.