Sha256: 0f2008a1e04557065483b27bcaecfbfa94daf48c011397945f6f16107ee2ffcc
Contents?: true
Size: 713 Bytes
Versions: 3
Compression:
Stored size: 713 Bytes
Contents
# 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' ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cells-rails-0.0.6 | README.md |
cells-rails-0.0.5 | README.md |
cells-rails-0.0.4 | README.md |