Is there better way to write this:
def render_column_title(column, options)
title = (options[:column_titles] || {})[column] ||
Inflector::humanize(column)
…
end
thanks,
Bojan
–
Bojan M.
Informatika Mihelac, Bojan M. s.p. | www.informatikamihelac.com
→ tools, scripts, tricks from our code lab: http://source.mihelac.org