And I also had to patch class Merb::MailController def self.template_roots [[File.join(Merb.root,'app','mailers','views'), :_template_location]] end end
class Merb::PartController def self.template_roots [[File.join(Merb.root,'app','parts','views'), :_template_location]] end end There's still an issue with the exception page not finding its view and the auto class reloading not working... On Jun 22, 2:17 pm, Gary Yngve <[email protected]> wrote: > Well, I have no idea why it was having trouble, but I "fixed" it by > monkey-patching > > class Merb::Controller > def self.template_roots > [[File.join(Merb.root,'app','views'), :_template_location]] > end > end > > ugh. charging onward to the next spec failure... > > -g > > > > On Tue, Jun 22, 2010 at 1:56 PM, Gary Yngve <[email protected]> wrote: > > working on upgrading.. > > > it's crashing on > > > /Library/Ruby/Gems/1.8/gems/merb-core-1.1.2/lib/merb-core/controller/mixins > > /render.rb:in > > `_template_for' > > > and what's happening is that the controller's first template root is nil. > > > has anyone experienced this and can save me a few hours of debugging? > > > thanks, > > gary -- You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en.
