sandipransing

Overriding to_s method for BigDecimal instance


over 1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
requirement was to display decimal numbers which are having scale values present to be displayed in decimal format otherwise display them as integer. Output...

>Setup Active Scaffold with rails 3 using jQuery


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
Create new rails project Add active_scaffold gem to bundler Setup active scaffold to use jQuery Generate active scaffold for resource city & zone Add...

>Ghostype input Placeholder for search text fields using jQuery


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
>Placeholder Demo Ghostpe Demo $(document).ready(function(){ var search = “#home-search”; var chars = $(search).attr(‘placeholder&rsquo...

>Setting up nginx maximum upload size


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
>Edit nginx configuration and look for html block.Inside html block add following line.http { include conf/mime.types; default_type application/octet-stream...

>Twitter share and facebook like button for haml-rails, html/erb


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
>Twitter share and facebook like button for html/erb<div class='spread'>  <div class='twshare left'>   <a href="http://twitter...

>number to indian currency helper for rails with WebRupee


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
>rails has built in number_to_currency helper which takes options like unit, delimeter, seperator which displays foreign currency correctly but somehow...

>Accessing View Helpers & Routes in Rails Console, Rake Tasks and Mailers


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
> While looking for accessing rails template tags to be accessed on rails console in order to examine whatever written needs to be correct, found that...

>Monitor Delayed Job in rails


~1 year ago by sandipransing on Josh Software - Where Programming is an Art!.
>Delayed Job & Monit configurationWe were struggling through how to monit delayed_job from past few months because monit doesn’t work seamlessly...

Authorize Net (AIM) payment integration with rails


4 months ago by sandipransing on Josh Software - Where Programming is an Art!.
Authorize Net (AIM) method enables internet merchants to accept online payments via credit card. We shall see how to integrate authorize net payment gateway...