public
Description: ab testing for rails
Home | Edit | New

Home

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”

Last edited by paulmars, Tue Apr 07 13:50:37 -0700 2009
Home | Edit | New
Versions: