impartial-rails
Integrates Impartial into Rails for simple rendering of self-contained partials.
Usage
Impartial-rails is simple to use. All impartials live in /app/impartials
To render them in a view, you can simply call impartial :demo
Example
/app/impartials/example/example.rb
class Demo < Impartial::Base
end
/app/impartials/example/example.html.hbs
Hello World!
/app/views/dashboard/show.html.hbs
<%= impartial "demo" %>