Skip to content
paulmars edited this page Sep 13, 2010 · 4 revisions

for old versions of rails, they changed a function name, try looking at this:

in file “lib/ab_view_helper.rb” in function “ab_test(testname, version_count, &block)”

change this: “block_called_from_erb?(block) ? concat(content_tag) : content_tag” to “block_is_within_action_view?(block) ? concat(content_tag, block.binding) : content_tag”

Clone this wiki locally