I’m trying to tidy up my first rails app, and want to customize the
action
‘show’ (created by generating a scaffold). It’s a recipe database, and
some
of the fields are not required when submitting a new recipe, such as the
“History” field. However, when I want to show that recipe, I don’t want
the
column name “History” to show if there is no variable for that
particular
recipe. How do I create this conditional element?
James