Components on Rails views
If you already have plenty of Rails views (ERB, Haml or Slim) and want to start creating small UI components in pure Ruby, you are able to use components on these existing views.
app/matestack/components/products/teaser.rb
The class is then called on your Rails view, in this case an ERB view:
Last updated
Was this helpful?