How to Export to CSV with Ruby on RailsSo, you need to export a CSV. As with everything in Ruby on Rails, it's really easy to do this. I will walk through how I built this feature to export sales leads on another Rails app of mine. But this same approach can be applied to any data you wa...Nov 4, 2021 · 4 min readtestsuite.hashnode.dev
Ruby on Rails is Definitely Dead... Right?Let's get straight to the answer. Rails is not dead. It is anything but dead. Ruby on Rails is more alive than ever with a growing community and more contributors to the open-source project than I've ever seen. The project has been improving at a lig...Nov 1, 2021 · 3 min readtestsuite.hashnode.dev
Don't Get Hacked: How to Prevent SQL Injection Attacks in Your Ruby on Rails ApplicationRuby on Rails gives you a lot of tools to protect against SQL injection attacks. Input sanitization is the most important tool for preventing SQL injection in your database. And Active Record automatically does this when you use it correctly. But tha...Oct 31, 2021 · 5 min readtestsuite.hashnode.dev
A Complete Guide on How SQL Injection Attacks WorkWe need to talk about SQL injection. What it is, how to do it, and most importantly how to prevent it. We'll cover some examples of SQL injection too and explain how to identify vulnerabilities so you can protect your data. What is SQL Injection? H...Oct 30, 2021 · 9 min readtestsuite.hashnode.dev
How to Build OR Queries With Active RecordThere are a couple of ways to recreate the SQL OR operator with Ruby on Rails and Active Record. Here's how. Checking a Single Column For Multiple Values First, if you want to pull records where a certain column can be multiple values you won't need ...Oct 29, 2021 · 3 min readtestsuite.hashnode.dev