6.5.1 6f6f1588 ActionView::Template::Error (comparison of String with 10000 failed)
Created by: peterwillcn
Started GET "/alex/api" for 127.0.0.1 at 2014-02-21 22:17:07 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"alex/api"} Rendered projects/_dropdown.html.haml (2.5ms) Rendered shared/_clone_panel.html.haml (0.4ms) Rendered projects/_home_panel.html.haml (7.7ms) Rendered projects/show.html.haml within layouts/projects (8.0ms) Completed 500 Internal Server Error in 28ms
ActionView::Template::Error (comparison of String with 10000 failed):
25: - unless empty_repo
26: .col-md-4
27: .project-home-links
28: = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
29: = link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project)
30: = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project)
31: %span.light.prepend-left-20= repository_size
app/models/repository.rb:89:in >' app/models/repository.rb:89:in
round_commit_count'
app/views/projects/_home_panel.html.haml:28:in _app_views_projects__home_panel_html_haml__3668044721298998637_69939958244020' app/views/projects/show.html.haml:1:in
_app_views_projects_show_html_haml__262694934083697509_69939969810480'
app/controllers/projects_controller.rb:73:in block (2 levels) in show' app/controllers/projects_controller.rb:65:in
show'
app/controllers/application_controller.rb:57:in `set_current_user_for_thread'
Started GET "/alex/api" for 127.0.0.1 at 2014-02-21 22:17:07 +0800 Processing by ProjectsController#show as HTML Parameters: {"id"=>"alex/api"} Rendered projects/_dropdown.html.haml (1.9ms) Rendered shared/_clone_panel.html.haml (0.3ms) Rendered projects/_home_panel.html.haml (6.5ms) Rendered projects/show.html.haml within layouts/projects (6.8ms) Completed 500 Internal Server Error in 33ms