Tutorials

How To Deploy Your Rails App to a DigitalOcean Droplet Using Dokku - DEV Community
For reference, you can deploy and run about three simple apps on one $6 droplet, but that's only about half the cost of hosting one app on Heroku with a database and caching. Moreover, unlike a Droplet, the Heroku server will sleep when it's not b...

Testing AJAX Controller Requests With Different Versions of Rails and RSpec
AJAX opens a new window (Asynchronous JavaScript and XML) is an approach that combines the use of many different technologies such as HTML or XHTML, CSS, JavaScript, DOM, XML, XSLT, and most importantly the XMLHttpRequest object to provide a bette...

ActionCable and React for Beginners - DEV Community
But sometimes, we want real-time interaction with others. For example, users on Discord or Slack don't manually refresh their applications to get new messages, they are simply received. To facilitate this need for real-time updates, we can use Web...


Ruby on Rails with React on Typescript using importmaps - DEV Community
With React and Rails, you can build a great application that has a fast, responsive, and dynamic user interface, as well as a robust and scalable back-end. Typescript adds strong typing, better tooling, and error checking to your code, making it m...

Rails Performance Gem | Ruby on Rails 7 Gem - YouTube
This Rails Performance Gem lets you very easily setup a quick performance monitoring dashboard for your Ruby on Rails 7 apps.Checkout my course(s) at: https://learn.deanin.comLinks:https://github.com/igorkasyanchuk/rai...https://www.patreon.com/ig...

Running Rails Development with a Fake Domain and SSL
Sometimes you need to test a feature that requires not just SSL (https) but also to run under a certain domain. For example, testing an OAuth application will mean running your development environment at the right callback URL, especially when the...

Containerize a Rails 7 App and Run it on Vultr with Cloud 66
To celebrate a 3-year integration anniversary between Cloud 66 and Vultr we’re showcasing some of the changes and improvements that we have implemented in both of our platforms. To show how well our platforms work together, we’re taking a Rails 7 ...

Solving N 1 Postgres queries for Ruby on Rails apps
Crunchy Data is getting ready to be at RailsConf 2023 in Atlanta next week and we’ve been thinking about our Rails and ActiveRecord users and customers. One of the easiest ways to improve query performance using an ORM is to lean on as much SQL as...