How to make Active Admin column Html_safe and replace boolean values with some icons in better way

I was working on ActiveAdmin views and as we are using html editor for some of our text fields so we wanted to make sure when we are showing that html content in the application. It should be readable and without html tags. To do that generally it is mentioned to use a block for... Continue Reading →

Advertisements

RVM commands

Useful RVM commands: 1. To set the defult ruby environment using RVM you can use the following comamnd rvm use 1.9.3 --default # this will set the ruby1.9.2 as default ruby environment rvm use jruby-1.4.0 --default # this will set the jruby as defult ruby environment 2. If you do not have ruby install on... Continue Reading →

Create a website or blog at WordPress.com

Up ↑