From 8e9dd4e9d8398e61330c1b8b5adc784d64e34da1 Mon Sep 17 00:00:00 2001 From: Bryan Larsen Date: Mon, 28 Dec 2009 15:56:19 -0600 Subject: [PATCH] [#592 state:resolved] [#436 state:resolved] name "foos.count" view in a table "foos_count-view" instead of "count-view" --- hobo/taglibs/rapid_core.dryml | 2 +- hobo/taglibs/rapid_support.dryml | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hobo/taglibs/rapid_core.dryml b/hobo/taglibs/rapid_core.dryml index f29df3a..a921608 100644 --- a/hobo/taglibs/rapid_core.dryml +++ b/hobo/taglibs/rapid_core.dryml @@ -119,7 +119,7 @@ This will use `` as the tag in each table cell instead of `` class="#{scope.even_odd} #{this_type.name.underscore} #{model_id_class}"> - + Edit diff --git a/hobo/taglibs/rapid_support.dryml b/hobo/taglibs/rapid_support.dryml index 0fd8f94..0ad5b64 100644 --- a/hobo/taglibs/rapid_support.dryml +++ b/hobo/taglibs/rapid_support.dryml @@ -44,11 +44,13 @@ This tag is in need of a review - it's a bit funky. field_names -= comma_split(skip) if skip field_names = field_names.select {|f| can_view?(this, f)} unless force_all field_names.each do |field| + %><% if field == "this" %><% else %><% end + %><% end %> -- 1.6.3.3