打印

掉用子画面 进的是哪个def?

掉用子画面 进的是哪个def?

list.rhtml

...
<%= submit_tag '検索', :onClick => "openWindow('../../small/N5102.rhtml');" %>
...


small_controller.rb
 def index
  p 'sssssssssssssssssssssssssssss'
  @groups = Group.find(:all)
  render :action => 'N5102'
 end
 def N5102
  @groups = Group.find(:all) 
  p @groups ,"@@@@@@@@@@@@@@@@@@@"
 end
当掉用的时候, 这写p 没有打印出任何值,
而通过 localhost:3000/small/N5102
可以打印出来,请问为什么会这样, 掉小画面究竟是进哪个 def???

TOP

2008-11-24 00:18 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html) @38.103.63.61