Accessing database and rendering from a plugin

Hi all,

Very fresh rails and programming newbie here; please bear with me :smiley:

I am using the calendar helper plugin from
http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin, and
hacking around with it at the moment.

I need to be able to draw information from my main controller, model and
database into the calendar day cells themselves - basically further
integrate what is currently an extremely separate calendar plugin into
the application itself.

Would someone be able to to assist in pointing me in the right
direction? Should I be moving the helper to a model or similar so that
the calendar is a "part of" my application, not just a plugin hanging
off the edge of it?

Thanks for your any assistance that you can provide :slight_smile:

James

Hi all,

Very fresh rails and programming newbie here; please bear with me :smiley:

I am using the calendar helper plugin from
http://wiki.rubyonrails.org/rails/pages/Calendar+Helper+Plugin, and
hacking around with it at the moment.

I need to be able to draw information from my main controller, model and
database into the calendar day cells themselves - basically further
integrate what is currently an extremely separate calendar plugin into
the application itself.

Would someone be able to to assist in pointing me in the right
direction? Should I be moving the helper to a model or similar so that
the calendar is a "part of" my application, not just a plugin hanging
off the edge of it?

Thanks for your any assistance that you can provide :slight_smile:

Craig White wrote:

you might want to look at eldorado to see how they are doing things...

Excellent, thanks for that Craig! I'll have a dig around now.

Thanks again, I might come back with more questions or progress so
others can use this in the future as well :slight_smile: