Version before rails 4 branch