Setting Up a Modal with Turbo Frame and TailwindCSS in Rails
Quick setup for a modal in Rails using Turbo Frame and TailwindCSS: two files, three lines of JavaScript, and voilà a ready-to-go interactive modal!
Quick setup for a modal in Rails using Turbo Frame and TailwindCSS: two files, three lines of JavaScript, and voilà a ready-to-go interactive modal!
Rails? It doesn't scale well, right?, Why don't you use a JS framework? It's more modern!. These are the kinds of questions I get when I say I'm a Rails developer, but are they really right?
CSRF attacks are among the most well-known on the web. Let's see how this attack works and how Ruby on Rails integrates security measures to prevent it.
What is a callback and how to use them effectively in a controller? Let's find out together :)
The PORO (Plain Old Ruby Object) concept allows you to create a class with a single responsibility. Let's apply this to Ruby on Rails!