tpope/vim-rails — Issue #130: Cells support
Author: mat813
Created: 2011-11-09 11:12:23+00:00
State: open

I use [Cells](https://github.com/apotonick/cells) which is a way to kinda have sort of partials who have some controller logic, and I'd love to be able to have a R{,S,T}cell shortcut to access them :-)

it all lives in app/cells, and the layout is simple, like it says in the README :

```
$ rails generate cell cart display -e haml
create app/cells/
create app/cells/cart
create app/cells/cart_cell.rb
create app/cells/cart/display.html.haml
create test/cells/cart_test.rb
```

the cart_cell.rb is the cell controller, the cart/display.html.haml is it's associated view, and the test, well, it's the test, but it's already accessible through Rtest/Rspec.