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.
Learn how to improve the speed of your database queries by adding database indexes to your tables
Adding user avatars is pretty easy using Rails' ActiveStorage feature. We'll be using Devise in this example, but this applies to any user authentication system.
Rails's webpacker gem makes it super easy to load both Bootstrap's CSS and JS into your Rails app using webpack
Select a record or create a new one for an association in a form using the Selectize.js library
Tracking business metrics can be time consuming and costly but the Ahoy gem lets you easily track metrics and Blazer makes it incredibly easy to analyze your data
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.
Learn how to use ActiveRecord Explain to analyze your SQL queries generated by ActiveRecord
Sidekiq Pro or sidekiq-batch lets you run a set of background jobs in parallel and then a callback once they're finished. This is perfect for building more advanced workflows for your background jobs in Rails.
Learn how to refactor a complex controller with a bunch of methods into a much cleaner set of code
Learn how I design GoRails for speed and performance on all layers of the stack
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
Learn how to send messages between users with the Mailboxer gem
Ever wondered what the difference between Symbols and Strings were? Why would we use one over the other when most languages only have strings?
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.
Use memoization to your advantage to cache results in memory to improve speed
Learn how to use Omniauth And omniauth-twitter to let your users authorize and connect to the Twitter API using their Twitter account with your Rails app
Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails
Learn how to use HTTParty to consume an API and package your library into a gem
Learn how to use counter caches in your Rails app
Learn how to soft delete records instead of deleting them permanently from your database
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.