You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2018. It is now read-only.
When loading /user/download_data the following error is thrown.
NoMethodError in Users#download_data
Showing /home/mesabeadmin/wesabe/pfc/app/views/users/download_data.html.erb where line #12 raised:
undefined method `formatted_accounts_with_txactions_url' for #<#<Class:0xb3ff1eec>:0xb3fefa98>
Extracted source (around line #12):
9: <div class="form-info">
10: <p class="large">At Wesabe, you can always download all your data — your data belongs to you.<p>
11: <p class="large">Download your transactions as
12: <%= link_to "XML", formatted_accounts_with_txactions_url(:format => 'xml') %> or
13: <%= link_to "CSV", formatted_txactions_url(:format => "csv") %>
14: </p>
15: </div>
The text was updated successfully, but these errors were encountered:
Ah, looks like this was broken during the upgrade/purge. If anyone wants to reinstate this functionality, you'd want to do something like this (from app/views/rational_txactions/index.xml.builder):
xml = ::Builder::XmlMarkup.new(:indent => params[:compact] ? 0 : 2)
xml.dasherize!
xml.instruct!
xml.txactions(:type => "array") do
@txactions.each do |txaction|
txaction_to_xml(xml, txaction, params.merge(:skip_instruct => true, :include_account => true, :concise => true))
end
end
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When loading /user/download_data the following error is thrown.
The text was updated successfully, but these errors were encountered: