代码 : https://github.com/springwq/mytwitter
访问 followers的时候报错了,following 是正常的,不晓得哪里出错了?

报错:
Failures:
  1) UserPages following/followers followers
     Failure/Error: visit followers_user_path(other_user)
     ActionView::Template::Error:
       undefined method `email' for #<ActiveRecord::AssociationRelation::ActiveRecord_AssociationRelation_User:0x007fd1799ea1e0>
     # ./app/helpers/users_helper.rb:3:in `gravatar_for'
     # ./app/views/users/show_follow.html.erb:5:in `_app_views_users_show_follow_html_erb___3786658985952186547_70268838744720'
     # ./app/controllers/users_controller.rb:61:in `followers'
     # ./spec/requests/user_pages_spec.rb:163:in `block (4 levels) in <top (required)>'
  2) UserPages following/followers followers
     Failure/Error: visit followers_user_path(other_user)
     ActionView::Template::Error:
       undefined method `email' for #<ActiveRecord::AssociationRelation::ActiveRecord_AssociationRelation_User:0x007fd17a6116d0>
     # ./app/helpers/users_helper.rb:3:in `gravatar_for'
     # ./app/views/users/show_follow.html.erb:5:in `_app_views_users_show_follow_html_erb___3786658985952186547_70268838744720'
     # ./app/controllers/users_controller.rb:61:in `followers'
     # ./spec/requests/user_pages_spec.rb:163:in `block (4 levels) in <top (required)>'
  3) UserPages following/followers followers
     Failure/Error: visit followers_user_path(other_user)
     ActionView::Template::Error:
       undefined method `email' for #<ActiveRecord::AssociationRelation::ActiveRecord_AssociationRelation_User:0x007fd17d7f0480>
     # ./app/helpers/users_helper.rb:3:in `gravatar_for'
     # ./app/views/users/show_follow.html.erb:5:in `_app_views_users_show_follow_html_erb___3786658985952186547_70268838744720'
     # ./app/controllers/users_controller.rb:61:in `followers'
     # ./spec/requests/user_pages_spec.rb:163:in `block (4 levels) in <top (required)>'