using rails 4