Blogs

Upcoming built-in Upload Solution for Rails 5.2 (ActiveStorage)
DHH just announced a brand new feature for the upcoming Rails 5.2. This is ActiveStorage.Most simple upload solutions - such as ActiveStorage, and old ones such as the original Paperclip and the vanilla install of Carrierwave - basically set the H...

Working with Facebook using Devise, Omniauth, Koala and Rails 5
First of all, we need to setup our Facebook app. There’s not much to add on this, simply create a new Facebook app if needed. When your app is created, make sure to add the proper app domain. In this case, the app domain will be localhost to allow...




Adding Read Replicas in a Production Ruby on Rails System with Zero Downtime Using Makara
When query, schema and index optimizations aren’t enough to support the load of a high throughput database system, fundamental changes in how data flows through that system are often necessary.Over the past few years, our team at Contactually has ...


Implementing Linear Regression using Ruby - Practical Artificial Intelligence
In this posts I will show how to implement linear regression in Ruby. Using existing Ruby gems we will setup a linear regression model, train the algorithm and make predictions in minutes. For this example we will use historic house prices in Stat...

Devise Facebook Omniauth login with connect and disconnect functionality
When talking about users authentication in Rails land there is one name that generally stands above all the other available gems. This name is Devise.I would not be so wrong to call it the de facto standard of Rails authentication considering the ...