[PATCH conductor 1/2] Fix filter_table for Ruby 1.9

ifarkas at redhat.com ifarkas at redhat.com
Wed Jun 6 13:47:12 UTC 2012


From: Imre Farkas <ifarkas at redhat.com>

---
 src/app/views/layouts/_filter_table.html.haml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/views/layouts/_filter_table.html.haml b/src/app/views/layouts/_filter_table.html.haml
index 83ef88b..453266c 100644
--- a/src/app/views/layouts/_filter_table.html.haml
+++ b/src/app/views/layouts/_filter_table.html.haml
@@ -20,7 +20,7 @@
       - if !rows.any?
         %tr
           %td{:colspan => columns.size}= t('search.no_results')
-    = rows.collect {|row| capture_haml(row, &block)}.to_s.html_safe
+    = rows.collect {|row| capture_haml(row, &block)}.join.html_safe
 
   - if content_for? form_footer
     %fieldset.options
-- 
1.7.10.2




More information about the aeolus-devel mailing list