if i rendered in the controller
def index
@tips = Tip.all
respond_to do |format|
format.html # index.html.erb
format.js { render :nothing => true }
format.xml { render :xml => @tips }
end
end
the complete source, the view index, the index.js.erb and the controller
http://pastie.org/1576136
please help
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.