Thanks.....this is what I have:
I''m using abingo to a/b test on my website. I have a button 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,
On Jul 19, 3:45 pm, Colin Law
<clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:> On 19 July 2011 16:44, bertly_the_coder
<much...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > Hi guys,
>
> > I''m having a problem; when setting up a block in erb I get
the
> > following error:
> > undefined method `block_called_from_erb?'' for
#<#<Class:
> > 0x10596d330>:0x10590a668>
> > does anyone know what that means?
>
> It might be easier to help if you showed us the code that is failing
> (just around the point of failure).
>
> Colin
--
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@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.