Ruby

PDF generation with Rails

Generating pdf is a common requirement in web applications, mostly to download reports. Users would like to download their data as pdf or excel...
Surendran Sukumaran
1 min read

Display Mobile App Version from RhoMobile's build.yml

When we ship a mobile app for our clients, we always follow the practice of displaying the version number in it. With RhoMobile development,...
Visnupriya
29 sec read

Connect Rails 4 With Microsoft SQL Server Database

I spent a while to find a solution for connecting Rails 4 with MS SQL Server database. Later I found a quick and easy...
Sivakumar V
31 sec read

SpriteXchange 23rd December 2013

Hello Folks, We are happy to announce that we have restarted the Tech talk culture here at Spritle. Its called SpriteXchange. The last talk...
Karthik A K
28 sec read

Upgrading to Ruby 2.1.0 using rvm

Yaay Ruby 2.10 has been released and here is how to upgrade it using rvm First update rvm lists, so that rvm knows that...
Karthik A K
29 sec read

Calling Rake Task's with in Rake

If you want to call a Rake task within or from other rake files, then the pretty straight-forward, just use it like Rake::Task.invoke. Not...
Balaji D Loganathan
43 sec read

Integrate RhoMobile with LungoJS Framwork

Last week, I had the chance to learn about LungoJS. Basically, I am a Rhomobile Developer. So I tried to implement Rhomobile app with...
Visnupriya
2 min read

Hash from Arrays – the Ruby way!

Today I came across a really cool method in Ruby’s Hash class. I cannot believe I missed it all these days. Its a class...
Steve Robinson
1 min read

Upgrading Ruby Patch With RVM

I would like to share my knowledge about ruby patch level upgrade. I am using the ruby version 1.9.3 for one of my project...
Prabu D
37 sec read

Install Ruby 2.0 and Rails 4.0 on Mac OS…

The easiest way is to install XCode Command Line tools and then install ruby 2 via rvm then install rails 4 via gem. Install...
Neelkanth Ram
1 min read

Fix for ActiveRecord::ConnectionNotEstablished with acts_as_votable gem (0.5.0) on Rails…

When we were building the changebadtogood.com app we faced a certain issue with the acts_as_votable gem (~> 0.5.0) with Rails ‘3.0.19’. We got the...
Steve Robinson
1 min read

Built Windows Mobile 6.5 Apps Using RhoMobile Suite 4.0

We successfully managed to build Windows Mobile 6.5.3 apps using RhoMobile 4.0.0.beta.28 suite. Here is what I found on my way.
Visnupriya
1 min read