spokra wrote: > the page controller is only accessible to admins for one.
That's kind of weak security when coupled with such a dangerous idea. > > I'd like to be able to create pages on the fly that include blog > posting, news events top stories. and I don;t want to be changing the > view files all the time. I guess I could make one page for each page > type like the home page that include what i want.. > > I guess the quick way to explain what i'm trying to do is make a cms > that is erb aware Again, bad idea. Most CMSs include some for of template language that will do what you want (for example, Radius within the Radiant CMS), but by design, these languages never have all the features of ERb -- specifically, they can't execute arbitrary Ruby code. And that's the way it should be. With that in mind, then, why not give a CMS like Radiant a try? > > > On Oct 1, 1:45�pm, Marnen Laibow-Koser <rails-mailing-l...@andreas- Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

