How to use ActiveRecord Callbacks in Rails Callbacks are a great technique for achieving simplicity and flexibility. A callback allows you to run some code (usually a method) automatically when another piece of code runs. In Rails,... 12 November, 2012 / 0 Comments
How to Implement Event Calendar in Rails App Event calendar is a way to show multiple, overlapping events across calendar days and rows. This is an interface to add events, edit events, & destroy event. In Rails there... 08 November, 2012 / 0 Comments
How to generate Barcode using Barby Gem in Rails 2.3.8 A barcode is a series of vertical black lines with white spaces in between. This series of lines and spaces can be read by a device that can decode them.... 06 November, 2012 / 0 Comments
Creating an Engine on Refinery CMS Engines will create a tab in the Admin panel of the Refinery CMS to control the information on the engine.This example demonstrates creating an engine in an existing refinery app.... 01 November, 2012 / 0 Comments
Customizing Error Messages in RAILS In every application regardless of its complexity we require to customize error messages to make more sense. There are several ways to achieve it in Rails3 and in Rails2.3.x which are... 29 October, 2012 / 0 Comments
Polymorphic Associations in Rails3 In polymorphic associations, a model can belong to more than one model, on a single association.... 16 October, 2012 / 0 Comments
Usage of PDFKit with Rails 3.2.8 and Ruby 1.9.3 PDFkit is a powerful library which generates PDF from HTML + CSS. It uses “wkhtmltopdf” on the back-end which renders HTML using Webkit. Here is a simple example which describes... 11 October, 2012 / 0 Comments
Implementing Sortable Columns in Rails through Helper Get to know how to Implementing Sortable Columns in Rails through Helper. Subscribe to our newsletter for more updates.... 02 October, 2012 / 0 Comments
How to Implement Security Patches on Ruby on Rails Applications The security of any software product or application is something that every software solution provider is wary of. It is no different in the case of a Ruby on Rails... 14 March, 2011 / 0 Comments