Code Smells: A Better understanding on it

Code smells usually provide hints that may point to deeper underlying issues in the code structure and architecture. According to Martin Fowler, they are often an indicator of a problem rather than the problem themselves. Let's look at some common ones: Long Method Long methods, like their name, are too…

0 Comments

Text Search with Trigrams in PostgreSQL

Text Search With Trigrams Hey folks, consider the situation you are writing a mail to your manager and you misspelled the word “cancel” as “cancer”. Then your text editor comes to the rescue and provides suggestions that you should type cancel instead of cancer. How does it find that spelling…

0 Comments

6 Useful Ruby Libraries For Web Application

This article is a basic collection of some useful ruby libraries with example. Here I will talk about abbrev, benchmark, chronic, erb, faker and redcarpet. We can use these for adding up good features. And improvements for our applications. Some of these are available with ruby standard installation, while others…

0 Comments

Timezone – How to handle it in ruby on rails ?

We all live in different timezone in this world just as our users use our applications in different ones. But what does it mean for ROR applications? What is the application's timezone? Ever wondered how rails uses timezone for the timestamp displayed on UI? Configuration in application.rb as given below…

1 Comment

End of content

No more pages to load