Sha256: 012198c3ebda55f3d0b6850afe55b411f53a324e01e8c43efb757e5f81b36e4e

Contents?: true

Size: 505 Bytes

Versions: 3

Compression:

Stored size: 505 Bytes

Contents

# impartial-rails

Integrates [Impartial](http://github.com/thefrontside/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" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
impartial-rails-0.0.4 README.md
impartial-rails-0.0.2 README.md
impartial-rails-0.0.1 README.md