Posted by Balaji D Loganathan on August 16th, 2010

While installing mysql gem on Ubuntu for Ruby on Rails, if you get the error
Insecure world writable dir /usr/local/sbin in PATH, mode 040777
then the below solution would be a fix for you.
Read more »

pixelstats trackingpixel Tags: ,
Posted by Alok Swain on August 3rd, 2010

In the recent railscasts, Ryan Bates has shown us the usage of Highcharts and some other open-source client-side JavaScript libraries to generate beautiful charts with no load on the server. A beautiful alternative solution to Gruff, Flash chart and other plugins and gems that depend on Rmagick or Flash and are generated on the server. Also associating events with the charts is also easy. Some of the other features provided by Highcharts are explored here.
If you want to see the demo directly, please click http://hollow-day-51.heroku.com/ Read more »

pixelstats trackingpixel Tags: , , , ,
Posted by Alok Swain on July 10th, 2010

If you want to integrate Credit Card Payments for a web-applications, check out this blog on working with ActiveMerchant and Authorize.net payment gateways.
Read more »

pixelstats trackingpixel
Posted by Neelkanth Ram on June 22nd, 2010

If you are using MinGW version of Ruby and trying to install plugins like jrails or paperclip, then you might face with the problem “Plugin not found” even after correctly following the instruction.

Here is the solution for it.
Read more »

pixelstats trackingpixel Tags: , ,
Posted by Balaji D Loganathan on June 12th, 2010

If you are one of the victim who got the below error on your Windows machine…

Building native extensions.  This could take a while...
ERROR:  Error installing rcov:
        ERROR: Failed to build gem native extension.

F:/--ruby install path--/Ruby/bin/ruby.exe extconf.rb
creating Makefile

nmake
'nmake' is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in F:/--ruby install path--/Ruby/lib/ruby/gems/1.8/ge
ms/rcov-0.9.8 for inspection.
Results logged to F:/--ruby install path--/Ruby/lib/ruby/gems/1.8/gems/rcov-0.9.8/ext
/rcovrt/gem_make.out

the I have a suggestion.
Read more »

pixelstats trackingpixel Tags: , , ,
Posted by Surendran Sukumaran on May 6th, 2010

I was exploring the way to integrate GoogleMap on Flex with Rails as backend. My main focus was to detect the user events happening on Google Map using Flex, and then display the data sent by Rails to Flex. So, lets see what i did.

If you want to quickly know see the demo of my work, please click http://gmap-flex-rails.heroku.com/
Read more »

pixelstats trackingpixel Tags: , , , , ,
Posted by Vamsi Krishna on May 4th, 2010

I created a simple app with Flex 4 as front end and Rails 2.3.5 as back end. Well these days I started refreshing my knowledge on Flex, so here is my attempt on showing a flex chart with some events associated with it in order to render dynamic data delivered by Rails. Well as for the Rails App i am not going to explain the code much deeper since it’s a simple scaffold.

   script/generate scaffold Report month:string profit:float expenses:float amount:float

Before you read further, you can check demo of the app I developed at http://barchartapp.heroku.com/
Read more »

pixelstats trackingpixel 1 Comment » Tags: , , , , , ,
Posted by Balaji D Loganathan on May 4th, 2010

Book Name: Flex on Rails: Building Rich Internet Applications with Adobe Flex 3 and Rails 2 (Developer’s Library)
Authors: By Tony Hillerson, Daniel Wanja
Link: Amazon link
Table of contents: See Sample Content
Published on: 2009

If you know Rails and Flex, and if you are desperately looking for a book that can guide you to Integrate Flex and Rails, then this is the book to buy. Read more »

pixelstats trackingpixel Tags: , , , , , , , , , ,
Posted by Surendran Sukumaran on April 28th, 2010

If you want to know how to send and receive data from Flex and Rails using XML or JSON or AMF data types, then please read further.

Firstly, to get a bite at of what i am talking about, please check the demo.

Now let see this from coding perspective.

pixelstats trackingpixel 1 Comment » Tags: , , , , , , , ,
Posted by Alok Swain on April 23rd, 2010

Making a JSON request using jQuery can be sent to a controller in two ways.
Read more »

pixelstats trackingpixel Tags: , ,