Truncating html markup in Ruby on Rails

In almost all the projects, client now wants feature to add,update content of website dynamically from admin panel. I mostly use CKEditor as rich text editor. Using CKEditor user can generate.....


Read More

Paperclip : undefined method 'attachment_definitions' in Rails

Paperclip is popular gem used in rails project to provide attachment feature in your model. It is very flexible and easy to use.

I mostly use paperclip for my project if I need to provide.....


Read More

RVM shows message and takes time in Regenerating Ruby version Wrappers...

To use specific version of ruby, I used to create file .ruby-version in my rails application. Which will execute when I go to root directory of my project using cd command.

Once I was having.....


Read More