Topics
Check out the different Ruby, Rails, Javascript, and other topics we've covered
Lessons
See the full list of screencasts to learn from
Guides
Tutorials to help you setup Rails on your development and deploy to production
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.
Hotwire lets us broadcast changes so we can use the same approach for nested comments, but in realtime!
Updating slugs
Testing a gem or your Rails app against multiple Ruby and Rails versions is super useful, but we also take it a step further and test our gem against several different databases too
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
We can use timestamps in our database to track of online users in your Rails
Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails
With Rails 6.0, you can now define multiple primary and replica databases, define separate migrations for each primary database, and configure each model to read and write from different databases.
Race conditions can cause problems with data integrity. We can prevent these issues with Pessimistic Locking in ActiveRecord which uses database row-level locking.
When things (users, jobs, etc) attempt to update the same record at the same time, we can often lose changes. Optimistic locking uses a lock version number to warn you about updating stale objects so you can handle that safely.
Join 43,185+ 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.