lib/table_go/formatter.rb in table_go-0.2.2 vs lib/table_go/formatter.rb in table_go-0.2.3
- old
+ new
@@ -62,10 +62,10 @@
raise MissingFormatterError.new('formatter "%s" not found' % formatter) if formatter_proc.blank?
formatter_proc.call(value, record, column).to_s.html_safe
end
def self.apply_send(formatter, record, column, value)
- value.send(formatter).to_s.html_safe
+ value.send(formatter)
end
end
end