Closed beardedguru closed 7 years ago
Scratch that it looks like its happening on my local host as well ><
No method error:
<% end %>
<div class="authform">
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :role => 'form',
:class => 'payola-onestep-subscription-form',
'data-payola-base-path' => payola_path,
'data-payola-plan-type' => resource.plan.plan_class,
'data-payola-plan-id' => resource.plan.id}) do |f| %>
<h3>Sign up</h3>
<div>
<br />
<span id="error_explanation" class="payola-payment-error"></span>
Seems to be an issue with 'data-payola-plan-type' => resource.plan.plan_class
Hey Guys/Gals, want to thank you for your detailed tutorials. I recently was introduced to Rails from a friend that was trying to get me to build this membership product in rails instead of the current platform I am using.
I've worked on this for the past week and problem after problem trying to get this to go live lol. I managed to overcome all of the issues locally but when I push to Heroku I keep getting an error when clicking on the signup link:
Any idea here on how to get this fixed?