Dear All,
I am having a data of boolean datatype values such as True/False in sql database column. I created an array of T/F using the find_by_sql (select) options. Now I need to print the array not as True/False. Instead of that I have to print "It Occurs", if data populated as True. nothing should be printed if it is false. How I can prints the alternative values of column of sql without changing the table.
TRUE = "It Occurs" FALSE = ""
Advance Thanks Palani Kannan