Displaying 4 results from an estimated 4 matches for "inherited_without_api".
2006 Jan 10
4
Problem creating MockController
...l)
super
end
end
because if I just do require ''action_controller'' I get a no such file error.
Problem with this mock is that I get a recursive error:
SystemStackError: stack level too deep
d:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.0/lib/action_controller/helpers.rb:112:in
`inherited_without_api''
d:/ruby/lib/ruby/gems/1.8/gems/actionwebservice-0.9.3/lib/action_web_service/container/action_controller_container.rb:86:in
`inherited_without_action_controller''
but I''m not enough of a rails hack to understand why this fails.
Many thanks in advance.
CHEERS> SAM
2006 Jan 16
5
A function that return a link_to, Possible ?
Hello, I try this :
in application_helper.rb
-----------------------
def lnk bla
return link_to bla, { :controller => bli , :action => "blo" , :id
=> "blu" }
end
in file.rhtml
-----------
<%= lnk "yo!" %>
This return an error. There is a way to do this or something similar, or
this is completly impossible ?
Thanks
2005 Apr 06
3
NameError in <controller not set>#<action not set>
...local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in
`each''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:48:in
`helper''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.7.0/lib/action_controller/helpers.rb:94:in
`inherited_without_api''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/container/action_controller_container.rb:86:in
`inherited_without_action_controller''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-0.6.2/lib/action_web_service/dispatcher/action_controller_dispat...
2006 Apr 26
3
My GD2 is not working
...-1.3.1/lib/active_support/dependencies.rb:85:in
`require_dependency''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/helpers.rb:114:in
`default_helper_module!''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/helpers.rb:127:in
`inherited_without_api''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/container/action_controller_container.rb:86:in
`inherited_without_action_controller''
/usr/local/lib/ruby/gems/1.8/gems/actionwebservice-1.1.2/lib/action_web_service/dispatcher/action_controller_dispa...