Rendering a view from a model

Hi Douglas,

Douglas Shearer wrote:

I have the following class method in a Rails model,
in which I retrieve some objects from the DB...

It's often something simple like...

@bubbles = Bubble.find
the @bubble object

OTOH, if that's just a type (bubbles vs. bubble) then I'd say we need more info. In general, views get fed by a controller method rather than by methods in the model. Not sure what would happen if you didn't have a controller method named bubbles. Have you tried putting the method that's currently in your Bubble model in the controlleer?

Best regards,