Sha256: 46a04e5adf8945596aefe19adf7df38b0ad994961657fb9f076e18a327f09f0c
Contents?: true
Size: 966 Bytes
Versions: 5
Compression:
Stored size: 966 Bytes
Contents
# Cells::Rails [![Build Status](https://travis-ci.org/trailblazer/cells-rails.svg?branch=master)](https://travis-ci.org/trailblazer/cells-rails) [Cells](https://github.com/apotonick/cells) is a generic view model implementation for Ruby. Cells-rails brings Rails-specific bindings. ## Rails Features * All asset-related helpers are now simply delegated to the global asset helper instance. This happens by automatically including `Cell::Helper::AssetHelper` into `ViewModel`. * The global controller is passed to all cells via the context object. It's available via `ViewModel#controller`. * `ViewModel#call` and `Collection#call` are automatically `html_safe`ed. ## Installation Note that `cells-rails` is designed to work with Cells >= 4.1. Add this line to your application's Gemfile and keep it real: ```ruby gem 'cells-rails' ``` ## License The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cells-rails-0.1.4 | README.md |
cells-rails-0.1.3 | README.md |
cells-rails-0.1.2 | README.md |
cells-rails-0.1.1 | README.md |
cells-rails-0.1.0 | README.md |