Displaying 3 results from an estimated 3 matches for "call_act".
Did you mean:
call_ack
2007 Sep 11
4
Problem returning a Proc
I''m just playing with a recent Merb trunk (-r590). All the specs pass, apart
from 2 pending.
Now, the README says: "if you return a Proc object from your action, it will
be called and the return value sent to the client."
However this doesn''t seem to work with the following test controller:
class Hello < Application
def world
res = "Hello world from
2007 Nov 06
2
what did I do?
...b/mixins/render.rb:209:in `render''
/Users/kevwil/dev/git/rubyrubyroo/app/controllers/articles.rb:10:in `index''
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:57:in
`send''
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:57:in
`call_action''
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/abstract_controller.rb:32:in
`dispatch''
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/controller.rb:80:in `dispatch''
/Library/Ruby/Gems/1.8/gems/merb-0.4.0/lib/merb/dispatcher.rb:53:in
`dispatch_action''
/Libra...
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
.../fgaliana/work/new_ci/projects/domain/applications/fred/trunk/app/controllers/fred.rb:19:in
''blee''
/opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/abstract_controller.rb:87:in
`send''
/opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/abstract_controller.rb:87:in
`call_action''
/opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/abstract_controller.rb:43:in
`dispatch''
/opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/controller.rb:112:in
`dispatch''
/opt/local/lib/ruby/gems/1.8/gems/merb-0.5.0/lib/merb/dispatcher.rb:51:in
`dispatch_acti...