RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: SirBertly
Site: www.touchinspiration.com
Hey, Great screencast.
I am however getting an error when trying to use a block:
When I use this:
<% 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 %>
I get this:
undefined method `block_called_from_erb?' for #<#<Class:0x105245f30>:0x105243ca8>
Any ideas what that means? Have you seen that before?
Thanks for all the great work and all the help.
Hey, Great screencast.
I am however getting an error when trying to use a block:
When I use this:
I get this:
undefined method `block_called_from_erb?' for #<#<Class:0x105245f30>:0x105243ca8>
Any ideas what that means? Have you seen that before?
Thanks for all the great work and all the help.