RailsApps / rails-stripe-membership-saas

An example Rails 4.2 app with Stripe and the Payola gem for a membership or subscription site.

Home Page:http://railsapps.github.io/rails-stripe-membership-saas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Choosing haml as a template engine

thenickcox opened this issue · comments

Firstly, thanks a ton for this project!

This is a weird bug, and I'm not totally sure how it happened. Choosing haml as a templating engine works entirely, except that app/views/devise/registrations has the following files in it after app generation:

edit.html.haml
new.html.erb
new.html.haml

So rails renders new.html.erb preferentially. I was suuuper confused, because new.html.erb doesn't contain anything about checkout. This works if you just delete new.html.erb. But it took me a good while to figure that out. (Probably too long, admittedly.) I was able to duplicate this with another generation in another directory.

Edit

Happy to submit a patch if you point me to the right place.

This actually appears to be a bug with the composer.