Skip to content

Instantly share code, notes, and snippets.

@eric-hu
Last active June 8, 2016 09:53
Show Gist options
  • Save eric-hu/6047420 to your computer and use it in GitHub Desktop.
Save eric-hu/6047420 to your computer and use it in GitHub Desktop.
Steps to reproduce invalid slim code from fresh Rails/Devise install
rails new test_app
cd test_app
echo "gem 'devise', '~> 3.0.0'" >> Gemfile
bundle install
rails g devise:views
gem install html2slim
for file in app/views/devise/**/*.erb; do erb2slim $file ${file%erb}slim; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment