Couple of questions for Merb 0.4
Fernand Galiana
fernand.galiana at gmail.com
Tue Sep 4 13:49:33 EDT 2007
All,
I have just updated to the latest release of merb 0.4 and I am
wondering how I can get my controller changes
to reload without bouncing the server ? I am running in dev mode
but my changes to my merb controller don't
seem to get picked up on new requests.
Also say I have a controller that needs to render an alternate
xml format ie something like:
respond_to do |fmt|
fmt.xml => { render :xml => true, :action => 'fred' }
end
where in fred.xerb I have
xml.blee do
xml.fred some_val
...
end
When I tried to run the following code I am getting a merb error on
engine.transform where engine is nil ?
undefined method `transform' for nil:NilClass - (NoMethodError)
/usr/local/lib/ruby/gems/1.8/gems/merb-0.4.0/lib/merb/mixins/
render.rb:155:in `render'
What am I missing ?
-Fernand
More information about the Merb-devel
mailing list