daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ActionView::TemplateError (undefined method `count' for #<WillPaginate::Collection:0x7f940430a580>) on line #13 of app/views/users/index.html.erb:
  2. 10:             <div class="container">
  3. 11:
  4. 12:                                     <div class="item">
  5. 13:                             <p>Showing <b>All</b> (<%=h @users.count %>) </p>
  6. 14:                         <div class="paginationTop">
  7. 15:                         <!--
  8. 16:                             <input type="button" class="prev" value="" />
  9.  
  10.     app/views/users/index.html.erb:13
  11.     app/controllers/users_controller.rb:73:in `index'
  12.     passenger (2.2.7) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
  13.     passenger (2.2.7) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
  14.     passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
  15.     passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
  16.     passenger (2.2.7) lib/phusion_passenger/utils.rb:184:in `safe_fork'
  17.     passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
  18.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  19.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  20.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
  21.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:163:in `start'
  22.     passenger (2.2.7) lib/phusion_passenger/railz/application_spawner.rb:209:in `start'
  23.     passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
  24.     passenger (2.2.7) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
  25.     passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
  26.     passenger (2.2.7) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
  27.     passenger (2.2.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
  28.     passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
  29.     passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
  30.     passenger (2.2.7) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
  31.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
  32.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
  33.     passenger (2.2.7) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top