rails 4 template script