[LRUG] use application controller in rails cells

Tim Cowlishaw tim at timcowlishaw.co.uk
Tue Feb 9 09:49:07 PST 2010


On 9 Feb 2010, at 17:41, Riccardo Tacconi wrote:

> Do I have a controller instance in the cell? I have no idea. Here is a better explanation of what I am doing:

I believe it's set by the render method - all subclasses of Cell::Base should have @controller - pointing to the controller instance that they were instantiated from.

Cheers,

Tim




More information about the Chat mailing list