Recent Posts

heroku basics

less than 1 minute read

Create an application on heroku [sourcecode language="bash"] $ heroku create --stack cedar $ git push heroku master [/sourcecode] This will create an auto-ge...

rails validation basics

less than 1 minute read

Probably the easiest one, :length. You can give :maximum length. [sourcecode language="rails"] class Micropost < ActiveRecord::Base attr_accessible :con...

rake basics

less than 1 minute read

Rake is ruby make, a make-like language in ruby. make has been used to build code in linux & unit environment. [sourcecode language="bash"] $ bundle exec...

git tips

4 minute read

I have used git for a year now on my personal projects, but it's still mysterious. I feel like I need a good gui like TortoiseHG. Probably Git Extension is t...

Setting up ruby on rails on ubuntu

3 minute read

First of all, I am following on-line version of rails tutorial (http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=3.2#top). Michael recommend...