Cloud Computing: The Digital Shift 2.0 – Understanding the Current Market Trends

Ruby on Rails

How to map irregular database tables with rails models

Rails specifies standard conventions while creating models, controllers, migrations ( database tables ). Conventions for creating database tables 1. Table name should be plural 2. id field must be primary_key for table. 3. foreign_key  must be like <model_name>_id i.e. post_id, site_id Conventions for creating models & Controllers1. Model name must be singular and controller name …

How to map irregular database tables with rails models Read More »

Feedzirra installtion on ubuntu interpid

Feedzirra is a feed library that is designed to get and update many feeds as quickly as possible. This includes using libcurl-multi through the taf2-curb gem for faster http gets, and libxml through nokogiri and sax-machine for faster parsing. sudo apt-get install libcurl3 libxml2 libxml2-dev libxslt1-devsudo gem install pauldix-feedzirra

Start with Cucumber—>A utility for automated testing

Cucumber Introduction: Cucumber is the Acceptance Test Driven Development called Acceptance Test Driven Planning. In this type of testing we use customer acceptance tests to drive the development of code. Thus it is collaborative effort between the customer and the delivery team. Sometimes they are written by the delivery team and then reviewed/approved by the …

Start with Cucumber—>A utility for automated testing Read More »

Ruby On Rails

[gigya width=”425″ height=”355″ src=”http://static.slideshare.net/swf/ssplayer2.swf?doc=rubyonrails-12544591826068-phpapp02&stripped_title=ruby-on-rails-2108495″ quality=”high” wmode=”tranparent” ]

How to submit sitemap to search engines

There are many ways that can be used to submit sitemap to search engines. Lets discuss approaches 1. Put sitemap.xml in public folder and you are done.    Crawlers will find it through url    http://yourdomain.com/sitemap.xml 2. There are many online sites which generates sitemaps for you.    like http://www.xml-sitemaps.com/ 3. Open following urls in browser. Be sure to …

How to submit sitemap to search engines Read More »

search engine

How to submit sitemap to search engines – Josh Software

How to submit sitemap to search engines – Josh Software There are many ways that can be used to submit sitemap to search engines. Lets discuss approaches 1. Put sitemap.xml in public folder and you are done. Crawlers will find it through url http://yourdomain.com/sitemap.xml 2. There are many online sites which generates sitemaps for you. …

How to submit sitemap to search engines – Josh Software Read More »

Managing multiple ruby versions and rails versions with rvm

While working with many projects that uses different ruby versions and rails versions, one big problem arises that how do we manage all this ? We know that managing multiple rails versions wont be problem at all.but what about ruby versions, How one can manage multiple ruby versions. also while upgrading or degrading ruby version, …

Managing multiple ruby versions and rails versions with rvm Read More »

jruby rails installation on ubuntu interpid

# install mysql if you dont have already installedsudo apt-get install mysql-server mysql-client libhtml-template-perl mailx dbishell libcompress-zlib-perl mysql-doc-5.0 tinyca # install ant and jdksudo apt-get install ant sun-java6-jdk # install jrubymkdir softwarecd softwarewget http://dist.codehaus.org/jruby/jruby-bin-1.1.5.tar.gztar xvfz jruby-bin-1.1.5.tar.gzln -s jruby-1.1.5 jrubyexport PATH=$PATH:$HOME/software/jruby/bin # install the version of rails wanted by jrubyjruby -S gem install jruby-openssljruby -S gem …

jruby rails installation on ubuntu interpid Read More »

upgrading rails version

Here are the simple steps to be followed while upgrading rails version to use. # Install rails version1. gem install rails -v == gem install rails 2.3.3 # Upgrade environment.rb for new version2. RAILS_GEM_VERSION = ” unless defined? RAILS_GEM_VERSION == RAILS_GEM_VERSION = ‘2.3.3’ unless defined? RAILS_GEM_VERSION # Upgrade necessary files for the new version3. rake …

upgrading rails version Read More »