Lowered Rails dependency to 3