Optimize Views in Rails

In this blog we will see how to optimize our rails views by removing multiple queries.

»
Author's profile picture Dushyant on rails and optimization

Include images in email template rails

In this blog we will see how to include images in our email templates in rails application. There would be two parts to this:

»
Author's profile picture Dushyant on rails and email_design

Working with emails in development mode

In this blog we will see how to work with emails in development mode!

»
Author's profile picture Dushyant on rails and mailcatcher

Use Rails Locales in Javascript

In this blog, I will explain how to use locales (like en.yml or nl.yml etc) in your javascript code. We will be using this awesome gem called i18n-js

»
Author's profile picture Dushyant on rails and javascipt

Download and Setup Heroku Database Backup

Here are the steps to download and setup the database locally:

»
Author's profile picture Dushyant on heroku and backups

Polymorphic Associations Rails4

Polymorphism: As per Wiki, it is the provision of a single interface to entities of different types.

»
Author's profile picture Dushyant on rails and associations

Query to get recent rows in each group in relational database

There has been many times, when we want to show the latest rows from table group by different user or by company etc.

»
Author's profile picture Dushyant on database

Ruby Length Size Count Dilemma

There has been many times when we have multiple options to achieve something. One of them is using ruby’s length, count and size. Which one to use when ?

»
Author's profile picture Dushyant on ruby and active-record

Add meta contents in Jekyll blog

In this blog post, we will learn how to add meta content into our Jekyll blog, which will render meta content with respect to each blog post. Awesome, insn’t it!

»
Author's profile picture Dushyant on jekyll and meta-tags

Adding meta tags in Rails 4 app for each post in Views

In this blog post, we will learn how to add meta-content into our rails 4 app, which will render meta content with respect to each blog post.

»
Author's profile picture Dushyant on rails4 and meta-tags

Implement Markdown with Rails4 app

Markdown is popular tool to convert text to HTML. In this blog we will learn how to integrate Markdown in our rails 4 app using redcarpet and coderay gems.

»
Author's profile picture Dushyant on rails4 and markdown

Journey to Vim

Vim (a contraction of Vi IMproved) is a clone of Bill Joy’s vi editor for Unix. It was written by Bram Moolenaar based on source for a port of the Stevie editor to the Amiga and first released publicly in 1991. Vim is designed for use both from a command-line interface and as a standalone application in a graphical user interface. as per Wiki

»
Author's profile picture Dushyant on vim and vi