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. So in essence it looks like the app doesn't contain a checkout, which is the point. 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 is a port from this issue I filed on
rails-stripe-membership-saas
. The full text follows: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:
So rails renders
new.html.erb
preferentially. I was suuuper confused, becausenew.html.erb
doesn't contain anything about checkout. So in essence it looks like the app doesn't contain a checkout, which is the point. This works if you just deletenew.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.