0
這是我在Rails上遇到的最奇怪的錯誤。任何想法這可能是什麼?ActionView :: TemplateError(整數23656121084180太大,無法轉換爲`unsigned int')
注:該錯誤並非來自@ order.get_invoice_number,我試圖代碼分成多個行,而且很顯然的問題是內{:主機...}
ActionView::TemplateError (integer 23656121084180 too big to convert to `unsigned int') on line #56 of app/views/order_mailer/order_detail.text.html.erb:
53: <b>Order #:</b>
54: </td>
55: <td width="98%">
56: <%= link_to "#{@order.get_invoice_number}", {:host => Thread.current[:host], :controller => 'store/account', :action => 'view_order', id => "#{@order.id}"}, {:target => '_blank'} %>
57: </td>
58: </tr>
59: <tr>
app/views/order_mailer/order_detail.text.html.erb:56
app/controllers/store/
test_controller.rb:11:in `order_email'