Coder Social home page Coder Social logo

Comments (10)

kentonh avatar kentonh commented on August 13, 2024

It looks like this is caused by a tag with a nil value.

A Person has added a tag that the template can't handle.
@pulkitsharma07 is this something you'd like to work on?

from startupwichita.com.

alienxp03 avatar alienxp03 commented on August 13, 2024

I'd like to work on it if there are no takers yet :)

from startupwichita.com.

kentonh avatar kentonh commented on August 13, 2024

@alienxp03 It's all you, friendo

from startupwichita.com.

alienxp03 avatar alienxp03 commented on August 13, 2024

@kentonh Any chance I can see the log errors?

from startupwichita.com.

kentonh avatar kentonh commented on August 13, 2024

Here's what I pulled when I filed the ticket.

2017-09-29T20:18:54.610486+00:00 app[web.1]: Processing by NewsController#show as HTML
2017-09-29T20:18:54.610535+00:00 app[web.1]:   Parameters: {"id"=>"220"}
2017-09-29T20:18:54.625640+00:00 app[web.1]:   Rendered topics/_disqus.html.erb (0.1ms)
2017-09-29T20:18:54.628260+00:00 app[web.1]:   Rendered news/show.html.erb within layouts/application (12.5ms)
2017-09-29T20:18:54.630830+00:00 app[web.1]: Completed 200 OK in 20ms (Views: 12.5ms | ActiveRecord: 4.2ms)
2017-09-29T20:19:41.198442+00:00 app[web.1]: Started GET "/people" for 98.191.133.174 at 2017-09-29 20:19:41 +0000
2017-09-29T20:19:41.201160+00:00 app[web.1]: Processing by PeopleController#index as HTML
2017-09-29T20:19:41.371193+00:00 app[web.1]:   Rendered people/index.html.erb within layouts/application (166.8ms)
2017-09-29T20:19:41.372009+00:00 app[web.1]: Completed 500 Internal Server Error in 171ms (ActiveRecord: 72.5ms)
2017-09-29T20:19:41.375694+00:00 app[web.1]:
2017-09-29T20:19:41.375696+00:00 app[web.1]: ActionView::Template::Error (undefined method `id' for nil:NilClass):
2017-09-29T20:19:41.375699+00:00 app[web.1]:     27:             </p>
2017-09-29T20:19:41.375701+00:00 app[web.1]:     28:             <h4>Interests</h4>
2017-09-29T20:19:41.375701+00:00 app[web.1]:     29:             <p>
2017-09-29T20:19:41.375702+00:00 app[web.1]:     30:               <% if Person.all_interest_tags.size > 0 %>
2017-09-29T20:19:41.375703+00:00 app[web.1]:     31:                 <% Person.all_interest_tags.each do |tag| %>
2017-09-29T20:19:41.375704+00:00 app[web.1]:     32:                   <span class="tags"><%= link_to tag['name'], people_with_interests_path(tag: tag['name']) %></span>
2017-09-29T20:19:41.375705+00:00 app[web.1]:     33:                 <% end %>
2017-09-29T20:19:41.375706+00:00 app[web.1]:   app/models/person.rb:66:in `block in all_interest_tags'
2017-09-29T20:19:41.375707+00:00 app[web.1]:   app/models/person.rb:66:in `all_interest_tags'
2017-09-29T20:19:41.375708+00:00 app[web.1]:   app/views/people/index.html.erb:30:in `block in _app_views_people_index_html_erb___3240603264314269510_69913411392160'
2017-09-29T20:19:41.375709+00:00 app[web.1]:   app/views/people/index.html.erb:1:in `_app_views_people_index_html_erb___3240603264314269510_69913411392160'
2017-09-29T20:19:41.375709+00:00 app[web.1]:   app/controllers/people_controller.rb:16:in `index'
2017-09-29T20:19:41.375710+00:00 app[web.1]:
2017-09-29T20:19:41.375711+00:00 app[web.1]:```

from startupwichita.com.

alienxp03 avatar alienxp03 commented on August 13, 2024

Seems like could be an issue with acts_as_ordered_taggable_on. Created PR 102 🙂

from startupwichita.com.

kentonh avatar kentonh commented on August 13, 2024

@alienxp03 I've deployed this PR to production, but the problem persists.

from startupwichita.com.

alienxp03 avatar alienxp03 commented on August 13, 2024

Same error I suppose? I'll check on it later tonight (my timezone) 😁

from startupwichita.com.

pulkitsharma07 avatar pulkitsharma07 commented on August 13, 2024

I'll take a look into it tonight, btw, isn't the page taking too long to load ?
It takes about 10-11 seconds for me.

@kentonh, Did this happen after deploying the PR #102 ?

from startupwichita.com.

kentonh avatar kentonh commented on August 13, 2024

@pulkitsharma07 you're right! and @alienxp03, it's not the same error. It looks like a Heroku timeout, probably based all the gravitar checks on #98.

from startupwichita.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.