Ruby on Rails
Ruby on rails is a great framework for building full-stack applications
Add FAQ markup schema to your articles in Ruby on Rails
FAQ structured data improves your SEO. Learn how to add a FAQ model for your articles in your Ruby on Rails application and then create the markup schema that you can put within your head tag.
What are the Ruby on Rails column types?
Find out all the different column types that you can add in your Ruby on Rails app
How to run a worker from the console
If you want to test your sidekiq worker from the console, you can call it using the following command
How to pass attr accessors in your JSON response
If your attr accessors are not being passed through your json response, here's how to fix it
Current attributes in Rails
Rails 5.2 adds support for CurrentAttributes which give you access to global variables in your application.
An easy way to connect your Rails server to your phone
Test your Rails application on your mobile phone or another laptop when they are connected to the same IP address
Checklist for deploying your Rails app to production on Heroku
The things that you need to do before you deploy. This is my checklist that I follow when I deploy a new feature of my Rails app to production on Heroku
How to upgrade from Rails 5.2 to Rails 6
Step by step process on how I upgraded my client's websites from Rails 5.2 to Rails 6
Why Letter opener gem doesn't open your letters
This is a simple way to find out why Letter opener is not opening your letters - use .deliver! so you can raise an exception
Why a Rails form validation error renders the wrong URL and how to fix it
Learn a bit more about render, redirect_to and resources to find out why the form validation error renders the wrong URL
First vs take vs Limit methods in Rails
Learn about the differences between the methods first vs take vs limit