Hi currently I am upgrading my project from rails 3.2 to rails 4. After upgrading to rails 4. page.replace_html
method is not working property.
eg:
In controller if it encountered code like this,
render :update do |page|
page.replace_html "lease_container", :partial => "/lease/property_pipeline", :locals => {:note_collection => @note}
end
it throws error like this,
ActionView::MissingTemplate (Missing template lease/update, application/update with {:locale=>[:en], :formats=>[:js, :html, :xml, :html, :text, :js, :css, :ics, :csv, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :handlers=>[:erb, :builder, :raw, :ruby, :rjs]}
how could i resolve this?. Is there any alternative to do this with jquery?