I am using spree 2.4 and spree fancy theme integrated with it. When I proceed to checkout and select a state during checkout the states are not getting updated according to the Country I select.
To reproduce the issue.
Simple install Spree 2-4 branch and add spree-fancy 2-4 branch to it.
Here is my gemfile.
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.9'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
gem 'spree', github: 'spree/spree', branch: '2-4-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'
gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-4-stable'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '2-4-stable'
I am using spree 2.4 and spree fancy theme integrated with it. When I proceed to checkout and select a state during checkout the states are not getting updated according to the Country I select. To reproduce the issue. Simple install Spree 2-4 branch and add spree-fancy 2-4 branch to it. Here is my gemfile.
source 'https://rubygems.org'
Also attaching my gemlock file GIT remote: git://github.com/spree/spree.git revision: 1a6df8a2ae9fcacdffefa44e7d826764b8a2d271 branch: 2-4-stable specs: spree (2.4.7.beta) spree_api (= 2.4.7.beta) spree_backend (= 2.4.7.beta) spree_cmd (= 2.4.7.beta) spree_core (= 2.4.7.beta) spree_frontend (= 2.4.7.beta) spree_sample (= 2.4.7.beta) spree_api (2.4.7.beta) rabl (~> 0.9.4.pre1) spree_core (= 2.4.7.beta) versioncake (~> 2.3.1) spree_backend (2.4.7.beta) jquery-rails (~> 3.1.2) jquery-ui-rails (~> 5.0.0) select2-rails (= 3.5.9.1) spree_api (= 2.4.7.beta) spree_core (= 2.4.7.beta) spree_cmd (2.4.7.beta) thor (~> 0.14) spree_core (2.4.7.beta) activemerchant (~> 1.44.1) acts_as_list (~> 0.3) awesome_nested_set (~> 3.0.1) cancancan (~> 1.9.2) carmen (~> 1.0.0) deface (~> 1.0.0) ffaker (~> 1.16) font-awesome-rails (~> 4.0) friendly_id (~> 5.0.4) highline (~> 1.6.18) httparty (~> 0.11) json (~> 1.7) kaminari (~> 0.15, >= 0.15.1) monetize (~> 1.1) paperclip (~> 4.2.0) paranoia (~> 2.0.5) premailer-rails rails (= 4.1.9) ransack (~> 1.4.1) state_machine (= 1.2.0) stringex (~> 1.5.1) truncate_html (= 0.9.2) twitter_cldr (~> 3.0) spree_frontend (2.4.7.beta) canonical-rails (~> 0.0.4) jquery-rails (~> 3.1.2) spree_api (= 2.4.7.beta) spree_core (= 2.4.7.beta) spree_sample (2.4.7.beta) spree_core (= 2.4.7.beta)
I know the issue is in javascript. Attaching a link to screenshot http://www.evernote.com/shard/s497/sh/cca7bd8a-8608-481b-830c-e28f769413f6/670eec0f4a5537c7526c15a910e1487e Check this link Note: we have not done any customization