Selenium Integration with Rails Application
Selenium is a suite of tools to automate web browsers across many platforms. It runs in many browsers and operating systems and it can be controlled by many programming languages and testing...
View ArticleRVM Gemsets To Maintain Multiple Versions Of Gems.
RVM made my life easier to run multiple versions of ruby and rails in Ubuntu/Mac OS. If we want to maintain multiple versions of gem under a single ruby version, we can create a named gemsets for...
View ArticleConsume SOAP WebServices Using Ruby With Savon
Recently, we had a task of consuming a SOAP based web serivces which sends and receive complex objects. We started taking Amazon Commerce webserices whose WSDL can be found at...
View ArticleRuby Tips 9: Install Gem Without RDoc/RI on Production
Often we want to avoid installing rdoc and ri on production/staging servers. Simply create .gemrc file in your home directory and add gem: –no-ri –no-rdoc You can also add few more things like...
View ArticleRuby Tips 11: Install mysql gem on Mac OS X Lion
brew install mysql Is you have installed mysql server already and have a failed mysql gem, then remove the mysql server first [ see] Do this to install mysql system tables: mysql_install_db --verbose...
View ArticleScrollable Content with Fixed Header and Footer – Rhomobile App
While using Rhomobile, often you might want to create an app that would have scrollable content with fixed header and footer, horizontally scrollable content, vertically scrollable content, scrollable...
View ArticleTraining on RhoMobile at Singapore – Photos
On 2nd March 2012 we conducted a half-day training on “Building cross-platform Mobile applications using RhoMobile platform at Singapore. Here are some of pictures taken from the events. We covered...
View ArticleIntegrate CreditCard Payment in Rhodes(iPhone and Android) Apps
We successfully integrated Stripe based Credit card payment in a Rhodes App for iPhone and Android. Stripe is really cool and made our life easier on integrating creditcard payment in our Rhodes App....
View ArticleContinuous Integration in Rails with Jenkins
Jenkins is an open-source Continuous Integration tool and it is easy to integrate in Rails project. A CI package will run automated tests on a server on a set(daily) or evented(whenever commits are...
View ArticleUpgrade Rails 2 application to Rails 3
Last month, I spent most of time upgrading a beautiful application from Rails 2 to Rails. It was such a wonderful experience and I just felt to share it with everyone. The key tools are rails_upgrade...
View ArticleUsing Facebook Realtime Updates in Ruby on Rails
Recently I got chance to try Facebook real time API in one of our project. Realtime Updates enables applications to subscribe to changes in data. For Facebook apps, instead of continuously polling the...
View ArticleImage Uploading With Rhodes, RhoConnect & Rails3
Recently I working on an app project which involves uploading and transferring images from smartphones to Web and vice-versa. My stack was Rhodes, RhoConnect, Rails 3. Thought I would share pieces of...
View ArticleMore about observable arrays in Knockoutjs
ObservableArray is a nice way to update a collection in Knockoutjs, if we want to repeat certain UI sections like name of the products to get the desired html output we can use Observablearray along...
View ArticleFix for ActiveRecord::ConnectionNotEstablished with acts_as_votable gem...
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 following stack trace and we figured it had...
View ArticleInstall Ruby 2.0 and Rails 4.0 on Mac OS Mountain Lion
The easiest way is to install XCode Command Line tools and then install ruby 2 via rvm then install rails 4 via gem. Install XCode Command lines tools rvm install ruby-2.0.0 gem install rails Few...
View ArticleCalling 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 sure how it may work and if you prefer a working Ruby on...
View ArticleSpriteXchange 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 took place on 23rd December 2013. Its open to anyone who...
View ArticleConnect 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 solution via tiny_tds for my Ubuntu platform. The gem tiny_tds is a good...
View ArticleDisable Multi-login by Single User
I was trying to disable multi login for single user using devise authentication and came up with this solution. Thought it may help someone. I used active record session store, so that I can access all...
View ArticleShare your site using Google Plus
This blog will help you to share some interest webpages with your friends using Google+ share functionality. Its very easy to add in your webpages. Icons : The Google Plus share icon is available in a...
View Article