Re: [Radiant] problem getting radiant-mental with custom extension wor

2007-02-06 Thread Sean Cribbs
Jacob, Regarding has_many and belongs_to, etc -- that is, class methods -- you can use the singleton class in your `activate` method, class Page has_many :widgets end -or- in the `included` method of your module do a class_eval, def included(base) base.class_eval do has_many :widgets

Re: [Radiant] Radiant 0.6 RC1

2007-02-06 Thread John W. Long
Adam Salter wrote: Question: Is there any difference in init/run time with a Rails app running Rails from vendor/rails? I'd hope it was the same, but surely the full gem install could cache more stuff? It's probably a little slower with RubyGems, but I haven't run any performance metrics

Re: [Radiant] Can you use controllers/views within a tag

2007-02-06 Thread Daniel Sheppard
Oh, you need to explicitely require 'application' to load the application controller - The application controller is not loaded until after the extensions, which means that any reference to a controller will be unable to load it's superclass (as the class is named ApplicationController, but it is