added option to rails 3 branch