cblair / portal

A web interface for collecting and analyzing research data
2 stars 0 forks source link

Document show view broken #40

Closed cblair closed 10 years ago

cblair commented 10 years ago

Looks like our paged document data isn't being set correctly, Shane could you verify. The test production server has the bug, but the main server hasn't gotten these changes yet. I'll open the port and send the link to the test server to Shane if he can't reproduce.

ActionView::Template::Error (undefined method first' for nil:NilClass): 105: 106: <% 107: #Get row data 108: @row = @paged_sdata.first() 109: #if there is no first row, set to empty instead of nil 110: if @row == nil 111: @row = {} app/views/documents/show.html.erb:108:in_app_views_documents_show_html_erb812457418651654548' app/controllers/documents_controller.rb:134:in `show'

cblair commented 10 years ago

Looks fixed now in latest deployment.