Quoting Michael Gao <[email protected]>:
> 
> I update rails from 2.0.2 to 2.2.3, the line below can work at old
> version but report error at new version
> 
> <%= render_partial "_jsdatacombo" %>
> 

render_partial is obsolete.  Use <%= render :partial => 'jsdatacombo' %>

(Rails will insert the underscore on the front of the name, automagically.)

HTH,
  Jeffrey

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to