Displaying 4 results from an estimated 4 matches for "erase_render_results".
2006 Jan 15
0
Newbie: undefined method `body=''
...on the answers side I get:
undefined method `body='' for #<Response:0x3677800>
and
e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in
`method_missing''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:694:in
`erase_render_results''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:712:in
`erase_results''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:28:in
`rescue_action''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_cont...
2006 Jan 16
1
Newbie: undefined method (backtick)body(quote) equals error
...d method (backtick)body=(quote) for #<Response:0x3828a78>
RAILS_ROOT: ./script/../config/..
e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in
`method_missing''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:694:in
`erase_render_results''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:712:in
`erase_results''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:28:in
`rescue_action''
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_cont...
2006 May 02
4
passing data from controller to rjs and then to partial
Hello Experts,
I am fetching data in my controller from a web service
def search
response = @@api.DoSearch()
end
and in my .rjs template, I am doing
page.replace_html ''fields_chooser'', :partial => ''fields_chooser''
,:locals =>{:response => response}
page.visual_effect(:Appear, ''fields_chooser'')
and in _fields_chooser.rhtml, I
2006 May 17
9
Render No Layout?
Hi guys,
Am having a problem.
I have this def in my index controller that works like this:
def do_something
$a = variable1
$b = variable2
$c = variable3
$d = ""<script language=\"Javascript\"> \n new Insertion.Bottom(''#{$c}'',
''#{$a} - #{$b}''); \n </script>"
$trigger = "1"
render(:partial =>