nikita gandhiElasticsearch: keyword analyzer vs english analyzerDeciding over which analyzer to use while indexing a field in ElasticSearch can really spin your head around sometimes. Today I would like…Jun 5, 2020Jun 5, 2020
nikita gandhiUnderstanding 21 SQL JoinsDid you know you can join two or more tables in 21 ways? Amazed? Well yes, that’s true. Let’s explore each one of them. But First things…Aug 27, 2019Aug 27, 2019
nikita gandhiJourney Of A Ruby CodeDid you know that even your most simplest Ruby code goes through 3 levels of transformation before it gets executed? Whenever you run a…Aug 22, 2019Aug 22, 2019
nikita gandhiWhat’s new in Rails 6? — ActiveRecord::Relation#pickThere are numerous new features introducing in Rails 6.0, but one of my favorite is pick in ActiveRecord::Relation.Aug 19, 2019Aug 19, 2019
nikita gandhiRuby 2.6 update: nil in RangesWe all are aware that a Range represents an interval-a set of values with a beginning and an end in ruby.Aug 12, 2019Aug 12, 2019
nikita gandhiWhy it’s a bad idea to use strftime in a Rails views?Ruby’s strftime method is defined in Time class. It formats time according to the directives in the given format string with various…Aug 9, 2019Aug 9, 2019
nikita gandhiJoins vs Includes vs Preload vs EagerloadIn Rails, associated data can be loaded in four different ways. Let’s deep dive in each of them and find various differences between them…Aug 9, 2019Aug 9, 2019
nikita gandhiActiveRecord: size vs count vs lengthIn Rails, the number of records can be found by both Model.count and Model.size. So which one is better? Who has an upper hand over whom…Jul 27, 2019Jul 27, 2019
nikita gandhiRule for AWS S3 Bucket NamingThe name of the bucket should not contain any period in between.Jul 29, 2016Jul 29, 2016
nikita gandhiSubmitting your website to Alexa, DMOZ, Google and Bing for better SEOAdding your website on various Search Engines(e.g. Bing, Google) and Directories(e.g. Alexa, DMOZ) is very important for good SEO(Search…Jun 30, 2016Jun 30, 2016