Simple SVN merge process from command line
How to merge the branch into trunk? Following are the simple steps for this. 1. Take a fresh checkout of … Continue reading Simple SVN merge process from command line
Open Source technology Ruby on Rails
How to merge the branch into trunk? Following are the simple steps for this. 1. Take a fresh checkout of … Continue reading Simple SVN merge process from command line
The first thing we’ll want to do is make sure your ubuntu version is up to date by running following … Continue reading Deploying Ruby on Rails application with Ruby 1.9.1 + Rails 3 + Apache MPM + Phusion Passenger on ubuntu
Here are the simple steps to install rmagic on ubuntu: There are some dependencies of RMagic, first install those. sudo … Continue reading How to install RMagic on Ubuntu
Today, Ruby on Rails gains extreme popularity. According to Gartner, there’re about a million Ruby developers these days, and the … Continue reading Need technology solution for good returns on investment (ROI)? Go for Ruby on Rails
Many times we end up spending more time in writing technical documents about our application. Here is the simple approach … Continue reading Preparing rdoc for your Rails application
Usually you will find the size of your rails application is huge after some time because by default rails maintains … Continue reading Backup strategy for production.log of Rails application
Most of the ruby enthusiasts are now moving on to Rails 3.0, but there is always something from the past … Continue reading How to install multiple Ruby versions on ubuntu using RVM ?
In this post you will find detail steps to set up a production server for a Rails 3 application with … Continue reading Installing Rails 3 + Ruby 1.9.2 + Phusion Passenger + Nginx on Ubuntu 10.04 LTS
Software Requirement Operating System (Unix or Linux or Mac or Mac Server or Windows systems) Ruby 1.8.7, Rails 2.3.5 & … Continue reading Simple steps to setup Project Tracking System (Redmine)
/config/deploy.rb set :stages, %w(qa staging production) require ‘capistrano/ext/multistage’ require ‘config/sitemap_tasks’ require ‘cap_recipes/tasks/passenger’ set(:scm_username) { Capistrano::CLI.ui.ask(“SVN User name: “) } set(:scm_password) … Continue reading Ruby on Rails deployment configurations
Ruby on Rails Installation http://www.hackido.com/2009/11/install-ruby-on-rails-on-ubuntu-karmic.html MySQL Server and Query Browser http://www.zolved.com/synapse/view_content/27986/How_to_install_MySQL_On_Ubuntu Installing Aptana Studio in Eclipse and then Rad Rails … Continue reading Ruby on Rails Installation Guide with MySQL+ Eclipse + SVN plugin for eclipse
Ruby on Rails allows you to “freeze” the version of Rails used by your application. When you freeze Rails, your … Continue reading Freeze and Unfreeze Rails application
This URL contains special characters, which Ruby can’t handle: URI.parse ‘http://www.yr.no/sted/Finland/Västra_Finland/Askainen/varsel.xml’ URI::InvalidURIError: bad URI(is not URI?): http://www.yr.no/sted/Finland/Västra_Finland/Askainen/varsel.xml 3 from /usr/local/lib/ruby/1.8/uri/common.rb:436:in … Continue reading How to fix “Bad URI (is not URI?)”
Code in Layout: <head> <title>Merry Christmas!</title> <%= yield(:head) %-> </head> Code in View: <%- content_for(:head) do -%> <%= javascript_include_tag :defaults … Continue reading Javascript Include Tag Best Practice in a Rails Application
Now a days many developers are developing web application using ruby on rails. But a few of them know what … Continue reading Difference Between Gem and Plugin
Procs and Blocs is the part of Ruby which is not clear to many. This post should help you clear … Continue reading Learn Ruby – Procs, Blocks, Lambda
When you create any migration you’ll see something like this: > script/generate migration one create db/migrate/20080402122512_one.rb Rails generate migration number … Continue reading What’s New in Edge Rails: UTC-based Migration Versioning
An extremely productive web-application framework. Written in Ruby by David Heinemeier Hansson. You could develop a web application at least … Continue reading What makes Ruby on Rails on top?
Consider the example, suppose you want to build url such as http://localhost:3000/maps/Europe/Italy/Milan in this case http://localhost:3000/maps/ this path is common … Continue reading Rails: Route Globbing (Building dynamic urls)