app/helpers/application_helper.rb
# Return the status of a boolean
Return the status of a boolean
Return the status of a boolean
def status_value(status)
    if status
      "Active"
    else
      "Disabled"
    end
  end
def status_value ( status ) if status "Active" else "Disabled" end end
Return the status of a boolean
Return the status of a boolean
status
<not_specific>