spree_address_book
spree_address_book copied to clipboard
undefined method `address_state' in _form.html.erb
Showing /usr/local/rvm/gems/ruby-2.1.0/bundler/gems/spree_address_book-b2ba6f5a96d9/app/views/spree/addresses/_form.html.erb where line #12 raised:
undefined method `address_state' for #<#Class:0x00000002413730:0x000000023a8fe8>
Extracted source (around line #12):
<%= address_field(address_form, :state, address_id) { address_state(address_form, address.country, address_id) } %>
What spree version are you using?
Spree 2.2.4 Spree_address_book 2-2-stable
@iloveitaly I see this same issue.
I'm not using spree 2.2.x, could you submit a PR for this?
@iloveitaly I've fixed some of these issues but I'm not seeing the point of this gem because Spree seems to pull the last address from the last order when I go to the checkout, not the one I have specified in this gem.
It seems there may have been some changes in Spree 2.2 which have not accounted for yet that make this gem obsolete. Will report back if I find out what they are.
same issue.
Spree 2.4.1 spree_address_book 2-2-stable