Posted by Surendran Sukumaran on January 20th, 2012

I tried Push notifications concept in Rhodes using Rhoconnect and its works well. The documentation for the same is also nice.
For one of my project there was no need for Rhoconnect and so I wanted to get Push Notification done using Ruby (without Rhoconnect). Here is the sample code I tried. Read more »

pixelstats trackingpixel 1 Comment »
Posted by Sivakumar V on January 4th, 2012

Rhodes team recently released 3.3.1 version which got support for RhoElements (Motorola Windows Mobile sdk with device specific features) and also for Android ET1.
Read more »

pixelstats trackingpixel Tags: , , , ,
Posted by Balaji D Loganathan on December 26th, 2011

We wanted to consume simple SOAP based web services from the iPhone, Android applications using RhoMobile framework. We dont want to use Savon as it got too much dependency to become rhodes-ruby extension.
Just thought lets write the raw soap client without using SOAP gems. Rhodes already support net-http and rexml(rhoxml) for such tasks.
Read more »

pixelstats trackingpixel Tags: , , , , , , ,
Posted by Balaji D Loganathan on November 11th, 2011
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 --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp

Install mysql gem:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-dir=/usr/local/Cellar/mysql --with-mysql-lib=/usr/local/Cellar/mysql/5.5.15/lib/ --with-mysql-include=/usr/local/mysql/5.5.15/include  --with-mysql-config=/usr/local/Cellar/mysql/5.5.15/bin/mysql_config

To find out what your machine is. use uname -a

pixelstats trackingpixel 1 Comment » Tags: , , , ,
Posted by Surendran Sukumaran on October 12th, 2011

Ok. If you have already read the Devise gem wiki, you wouldn’t be seeing this, if not here is the simple way to do it.
Read more »

pixelstats trackingpixel Tags: , , , , , , ,
Posted by Balaji D Loganathan on October 3rd, 2011

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
Read more »

pixelstats trackingpixel Tags: , , ,
Posted by Surendran Sukumaran on September 28th, 2011

Recently, we had a task of consuming a SOAP based web serivces which sends and receive complex objects.
Read more »

pixelstats trackingpixel Tags: , , , , , , ,
Posted by Surendran Sukumaran on September 19th, 2011

First install memcached in your machine and make sure the memcached server is running.
After installation to make sure its running, try starting the server using the below command.

/etc/init.d/memcached start #It may show memcached already, if started.
memcached -vv # show memcached log in console

Read more »

pixelstats trackingpixel Tags: , , ,
Posted by Surendran Sukumaran on September 15th, 2011

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 different versions and switch between them easily.

What is the advantage?
Answer: You can maintain multiple versions of Ruby as well as Rails (or gems). Cool. Isn’t it?

Read more »

pixelstats trackingpixel Tags: , , , , , ,
Posted by Dhepthi L Narasimhan on August 2nd, 2011

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 frameworks. I have used Selenium 1 (Selenium RC) as an Integration tool to test my rails application.

The installation steps to connect Selenium server with selenium client via ruby language as follows Read more »

pixelstats trackingpixel Tags: , , ,