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.
Find your next Ruby on Rails Job.
In this episode, we will walk through how you can save the contents of inbound HTML emails from ActionMailbox using ActionText and attachments using ActiveStorage
ActionMailbox is a new feature of Rails 6 for processing inbound emails to let users respond to your app via email. We'll do a quick rundown and build a simple reply by email feature to our app.
One of the coolest new features of Rails 6 is the introduction of Actionable Errors. These are errors you can provide actions on so when Rails complains you haven't run migrations you can now simply click a button to run them instead.
Rails's webpacker gem makes it super easy to load both Bootstrap's CSS and JS into your Rails app using webpack
CSS frameworks like Tailwind, Bootstrap, Foundation, etc all come with many CSS classes you probably aren't using. This creates huge CSS files unless we use a tool like PurgeCSS to look through our code and remove the unused classes.
With TailwindCSS 1.0 just around the corner and some changes in Rails 6 to Webpacker, we take a look at how to install and setup the latest version of TailwindCSS with Rails 6.0
Rails 6 defaults to using Webpacker for Javascript instead of the asset pipeline. We'll learn how everything is structured and laid out and see how to add Flatpickr to Rails 6 including both the Javascript and CSS for it.
Changing the database adapter for a Rails app has always been an annoying, manual change to make. Rails 6.0 introduces the "rails db:system:change" command to make this easier using all the built-in generators for database.yml and more.
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.
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.
A quick introduction to using ActionText in your Rails apps for editing and displaying rich text plus uploading files
The HaveIBeenPwned Password API lets us enforce strong passwords and warn users their password has been in a data breach
Deploying Rails to production for the first time can be confusing and daunting. We'll walk through every step of the process and show you how to setup a production Rails server from scratch.
Ever wondered what the difference between Symbols and Strings were? Why would we use one over the other when most languages only have strings?
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!
Creating draft records in your database can be tricky. We'll be using the Draftsman gem to help us create draft versions of our records with our autosave Javascript
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.
Linux server administration can be a pain. You can use cockpit to monitor your servers and keep an eye on long running processes like Sidekiq and Puma without having to SSH into your servers.
Security in production is important. We can use Fail2ban and NGINX to block malicious users from accessing our server and apps.
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 Privacy Policy.
Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8
© 2023 GoRails, LLC. All rights reserved.