Tutorials

How I became fond of Ruby on Rails (as a JavaScript developer)
At the beginning of this year I joined ePages as a software engineer with focus on Ruby on Rails, although I worked with Angular before. When I first got the opportunity to work as a Ruby developer at ePages, the decision was not easy for me to ma...




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...