<%= link_to_remote "See more", :url => { :action => "activity", :page_current => (@page_current.to_i + 1), :user_id=>@suser_profile.id }, :update => "sup_activity_#{@page_current.to_s}", :position => :before %>
如何将其转换为与rails 3中的remote =&gt; true链接
答案 0 :(得分:0)
不应该这样吗?
<%= link_to "See more", :url => { :action => "activity", :page_current => (@page_current.to_i + 1), :user_id=>@suser_profile.id }, :update => "sup_activity_#{@page_current.to_s}", :position => :before, :remote => true %>