Hi guys,
I''m using abingo to a/b test on my website. I have a buttong that I
would like to test with different words. Currently I have the test set
up like so:
<% ab_test("signup_test", ["START YOUR
MEMBERSHIP","SIGN UP", "CLICK
HERE"]) do |button_text| %>
<%= button_to button_text, :new_user_registration, {:method=>:get,
''data-theme''=>''mp'',
:onclick=>"_gaq.push([''_trackEvent'',
''Users'',
''Sign Up'']);"} %>
<% end %>
This seems consistent with Ryan Bates screencast on abingo
http://asciicasts.com/episodes/214-a-b-testing-with-a-bingo
For some reason, I''m getting the weirdest error:
undefined method `block_called_from_erb?'' for
#<#<Class:0x105432050>:
0x10542fff8>
I have tried to google this, but to no avail. Any hints, ideas as to
what this error may mean? Why does it not like my block?
Thanks in advance.
Regards,
Robert
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.