Skip to content

Instantly share code, notes, and snippets.

$("#slide").fadeOut('slow', function() {
$("#slide").load("ajax_discentes.php?l=br", function () {
$("#slide").fadeIn('slow');
});
});
# resposta do controller
respond_with do |format|
format.js {
render :update do |page|
if params[:page]
page.call "$('#repo_list').html", render(:partial => 'repo_list', :locals => { :f => SemanticFormBuilder.new(@page.class.name.underscore.to_s, @page, self, {}, proc{}) })
elsif params[:page_files]
page.call "$('#files_list').append", render(:partial => 'files_list')
page.call "$('#will_paginate').html", (will_paginate @page_files_unchecked, :param_name => 'page_files', :previous_label => t("will_paginate.previous"), :next_label => t("will_paginate.next"), :class => 'pagination ajax', :page_links => false, :renderer => Twitter, :twitter_label => t("more"))
end
/usr/lib/ruby/gems/1.8/gems/railties-3.0.0.rc/lib/rails/railtie/configuration.rb:76:in `method_missing': undefined method `load_paths' for #<Rails::Application::Configuration:0xb72e2004> (NoMethodError)