@sanjayayogi
I think it is a bug. I had a similar problem and fixed it by
modifying the file _list_calculations.rhtml to read (fragment)
<% if column.calculation? -%>
<%
calculation = column_calculation(column)
override_formatter = "render_#{column.name}_#
{column.calculate}"
calculation = self.method(override_formatter).call
(calculation) if respond_to? override_formatter
-%>
<%= calculation.to_s -%>
<% else -%>
<% end -%>
Mode detail on my personal pages
http://8020world.com/jcmendez/2008/12/geeky-stuff/software/activescaffold-summary-fields
Cheers,
Juan C.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---