Ruby
Welcome to my very first Blog. Being a beginner in learning Ruby on Rails, I find Devise as a flexible authentication solution based on... In this guide, I will explain how we can improve the performance of our rails app by using the counter cache. Consider an app... PostgreSQL provide powerful operator and methods to process JSON data. I have taken mock data to explore different operators and methods. Before proceed make... Hi Folks, I am working on a healthcare related web application. I would like to share few interesting things that I came across while... If you happen to see the error “Net::OpenTimeout: execution expired” and if it originating from /home/ubuntu/.rvm/rubies/ruby-x.x.x/lib/ruby/x.x.x/net/smtp.rb and if you are running your server on... Speaking at meetups is a great way of giving back to the community and so we always encourage our mates at Spritle to be... One of the new additions to ActiveRecord that’s gonna be coming out with the Rails 5 release is the ActiveRecord::Base.suppress method. I have some... When you face the error Uncaught Error: ExecJS::RuntimeError: FATAL ERROR: Evacuation Allocation failed - process out of memory and rails assets pipeline Cannot allocate... These days almost all web applications uses loads of JavaScripts (like jQuery, AngularJS and so on) and its becoming challenging to maintain the its... Most of us usually handle the Active Record Not Found error in ApplicationController and then redirect it to a generic view page. I found... Nowadays the importance of Restful APIs has increased a lot for web and mobile apps. Writing API has been made easier and pretty good... In this blog I am going to share my experience and learnings with MongoDb indexes.