Spell Check in ruby and rails using BOSSMan

Wrong English is an often problem while developing any website product asit gives bad view to website user and thus does direct impact on product.BOSSMan is a ruby gem that interacts with yahoo web service and provides asimplest way to overcome such errors.Installation:gem sources -a http://gems.github.comgem install jpignata-bossmanApply and get Application ID from yahoo developer … Continue reading Spell Check in ruby and rails using BOSSMan

PDF in rails using prawn library

Building PDF Document in ruby & rails application using prawn LibraryBriefBefore getting started with this tutorial, I would like to thanks Greg and Prawn team for their awesome work towards ruby and rails community.Installing prawn (core, layout, format, security)gem install prawnorAdd following line in rails environment file inside initializer block.config.gem 'prawn'Optionally you can specify version … Continue reading PDF in rails using prawn library

using modules and mixins in ruby

Before getting started with modules and mixins, lets first find out theneed of module & mixins in OOP.In object oriented programming languages multiple inheritance is basic paradigm (child class extends behavior of base class).C++ supports multiple inheritance.Java does support same using interfaces.In ruby language, multiple inheritance is achieved very easily using mixin of modules & … Continue reading using modules and mixins in ruby