Hi all, Very fresh rails and programming newbie here; please bear with me :D 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 :) James -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Craig White
2008-May-18 22:02 UTC
Re: ****[Rails] Accessing database and rendering from a plugin
On Sun, 2008-05-18 at 23:19 +0200, James Wigglesworth wrote:> Hi all, > > Very fresh rails and programming newbie here; please bear with me :D > > 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 :)---- you might want to look at eldorado to see how they are doing things... http://eldorado.almosteffortless.com/ It''s a free download Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
James Wigglesworth
2008-May-18 23:31 UTC
Re: ****[Rails] Accessing database and rendering from a plugin
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 :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---