566eebc150
avoids errors when running map-follow-notifications script. Stack trace: NoMethodError: undefined method 'defer_to_map' for nil:NilClass /home/metamaps/metamaps.cc/app/policies/topic_policy.rb:32:in 'show?' /home/metamaps/metamaps.cc/app/services/map_activity_service.rb:58:in 'block in summarize_data' /usr/local/rvm/gems/ruby-2.3.0@metamaps/gems/activerecord-5.0.5/lib/active_record/relation/delegation.rb:38:in 'each' /usr/local/rvm/gems/ruby-2.3.0@metamaps/gems/activerecord-5.0.5/lib/active_record/relation/delegation.rb:38:in 'each' /home/metamaps/metamaps.cc/app/services/map_activity_service.rb:55:in 'summarize_data' /home/metamaps/metamaps.cc/lib/tasks/emails.rake:17:in 'block in summarize_map_activity' |
||
---|---|---|
.. | ||
assets | ||
channels | ||
controllers | ||
decorators | ||
helpers | ||
mailers | ||
models | ||
policies | ||
serializers | ||
services | ||
views |