sample application rails 4