I\'m a newb at programming but in my application I want certain cases to display \"yes\" or \"no\" instead of \"true\" or \"false\". I\'m not sure the best way to do this,
The simplest option to get setup is to create a helper method which you can put in the application helper.
# in app/helpers/application_helper.rb def boolean_to_words(value) value ? "Yes" : "No" end
This is analogous to many other Rails conversion helpers such as number_to_currency
number_to_currency