Skip to content

Instantly share code, notes, and snippets.

@abhishek0
Created September 21, 2013 14:41
Show Gist options
  • Save abhishek0/6651269 to your computer and use it in GitHub Desktop.
Save abhishek0/6651269 to your computer and use it in GitHub Desktop.
Mailer view using helper throws error
module ApplicationHelper
def readable_bool val
val ? "Yes" : "No"
end
end
<td><%= readable_bool(@inquiry.car_required) %></td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment