Devise authentication failure with email normalization , Authentication issues with Devise and email normalization

Dec 22, 2016
Devise - a flexible authentication solution for Rails based on Warden says plataformatec. Yes it is and is my favorite authentication gem.Due to its flexible nature it does have some issues pouring do ...
Read More →


Configuring Solr for RSpec , Travis CI Solr configuration

Dec 15, 2016
Configuring solr for your local Rspec suite and in travis CI can sometimes be tedious task.In most of the projects i have come across methods using solr was tested by stubing the solr result.However ...
Read More →


Rails associations and includes, Rails eager loading associations

Dec 08, 2016
Includes is a handy method to do eager loading on your associations as stated in the rails documentation - "With includes, Active Record ensures that all of the specified associations are loaded using ...
Read More →


Ruby alias_method and prepend

Dec 01, 2016
Module#alias_method was one of the earliest solution to overwrite a method in ruby.With an alias method in place you can redefine a method to anything you want and call the old method using the alias_ ...
Read More →