Tutorials



Automated Image Categorization using Google Vision with Ruby
Google Vision's categorization feature is useful for automation of image uploads in web applications. It helps in assign labels to images and quickly classify them into millions of predefined categories. This helps to detect explicit content in i...

Rails Seeds Made Simple with Seed-Fu: A Step-by-Step Guide
I was seeding some default data in a Rails app, but finding it increasingly difficult to maintain the data without generating duplicates or failing to delete some unnecessary records.Then I learned about the seed-fu gem, which helped me avoid such...

A Fixture-Based Approach to Interface Testing in Rails
In the past few months, my team has been working on a big project written with Ruby on Rails. The key component of our application is integration to many external APIs like different eBay services, postal services, logistics operators, translation...



Rails 6 adds if_not_exists option to create_table
This blog is part of our Rails 6 series. Rails 6.0.0.rc1 was recently released.Rails 6 added if_not_exists to create_table option to create a table if it doesn’t exist.Before Rails 6, we could use ActiveRecord::Base.connection.table_exists?.Defaul...
