Elijah Murray
Elijah Murray

Reputation: 2172

Stripe Rails Integration

I've followed this tutorial to a T, copying and pasting all of the code 4 times and am still having issues loading the view for the demo payment.

This is my error

Missing template charges/new, application/new with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}. 
Searched in:
* "~/projectdirectory/app/views"
* "~/.rvm/gems/ruby-1.9.3-p327/gems/devise-2.1.2/app/views"

I've looked everywhere

Upvotes: 0

Views: 104

Answers (2)

Mario Olivio Flores
Mario Olivio Flores

Reputation: 2765

Do you have a view template at app/views/charges/new.html.erb or some other file there?

For a better answer, you should provide more info - i.e. what tutorial you're using.

-M

Upvotes: 0

Rob Di Marco
Rob Di Marco

Reputation: 44932

What files do you have in the directory app/views/charges?

There should be one named new.html.erb. It appears to be missing.

Upvotes: 1

Related Questions