lib/jqr-helpers/helpers.rb in jqr-helpers-1.0.71 vs lib/jqr-helpers/helpers.rb in jqr-helpers-1.0.72

- old
+ new

@@ -501,10 +501,13 @@ :'data-throbber' ] end end - rescue # no will_paginate installed + rescue Exception => e # no will_paginate installed + unless e.is_a?(LoadError) + raise e + end end # Create a will_paginate pagination interface which runs via Ajax. If # will_paginate is not in the Gemfile or gem environment, this will # throw an error.