search for: is_amex

Displaying 1 result from an estimated 1 matches for "is_amex".

2006 Mar 20
16
logic inside a view file
I am quite certain I have heard it said not to put business logic inside view code but I have a report that I want to display 3 different possibilities of text based upon the value of a column. Would I just take the same type of if/then logic that I would use in a controller and put it inside erb <%= %> stuff? Craig