JRuby as a Java Obfuscation Utility
Dynamic properties in Ruby


Step by step: Rails deployment step by step to Ubuntu Server. Deployment process with commands to a fresh server.
Rails authentication with devise and cancan – Customizing Devise Controllers
Cleaner RESTful Controllers with respond_with
Convert a Sqlite DB to MySQL? (in Rails world)
Simple Testing Coffeescript (Javascript) in Ruby on Rails Project
Ruby on Rails Console Quick Tips

Ruby Tips

My .irbrc file

require 'pp'
require 'irb/completion'
require 'irb/ext/save-history'
require 'rubygems'
require 'wirble'


IRB.conf[:SAVE_HISTORY] = 500
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
IRB.conf[:AUTO_INDENT] = true

Don't forget to install the wirble gem.

How to painlessly remove all gems

root:~# gem list | cut -d" " -f1 | xargs gem uninstall -aIx

How to prevent installing rdoc and ri files with gems

In ~/.gemrc file you need to add following line:

gem: --no-ri --no-rdoc
A+ a-
Clip in Evernote