Fixed Rails 4 issue with method: syntax in application view