Hi All,

I'm just getting started with Spree (my company is looking into using it
for their e-commerce needs), but I've run into a problem I can't get to the
bottom of - fingers crossed someone here will be able to help...

Basically my problem is the same as in this
post: https://groups.google.com/forum/?fromgroups=#!searchin/spree-user/spree_gateway$20mass-assignment/spree-user/PxFcp0nh5qA/64uL8gNlmpYJ
- I'm getting mass-assignment errors when trying to update payment gateway
details.

But, i'm using the latest Spree (1.2.2) and the 1-2-stable branch of
spree_gateway on a completely new rails app. It looks like this should not
be happening following these changes
(https://github.com/spree/spree/pull/1393 and
https://github.com/spree/spree_gateway/pull/9), but it is for me...

Can anyone give me any pointers as to where to start figuring this one out?

Thanks in advance,

Daz

P.S. Here's the stack trace and my Gemfile, but the app itself is pretty
much empty...

ActiveModel::MassAssignmentSecurity::Error in
Spree::Admin::PaymentMethodsController#update

Can't mass-assign protected attributes: preferred_discover_login

Rails.root: /Users/d.oakley/projects/e-commerce
Application Trace <http://local.nature.com/admin/payment_methods/3#> | Framework
Trace <http://local.nature.com/admin/payment_methods/3#> | Full Trace<http://local.nature.com/admin/payment_methods/3#>

activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
activemodel (3.2.9) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
activerecord (3.2.9) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
activerecord (3.2.9) lib/active_record/persistence.rb:216:in `block in update_attributes'
activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction'
activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
activerecord (3.2.9) lib/active_record/persistence.rb:215:in `update_attributes'
spree_core (1.2.2) app/controllers/spree/admin/payment_methods_controller.rb:36:in `update'
actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.9) lib/active_support/callbacks.rb:491:in `_run__4409258110614447048__process_action__4431287857354612053__callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
spree_core (1.2.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
spree_core (1.2.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
railties (3.2.9) lib/rails/engine.rb:479:in `call'
railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
journey (1.0.4) lib/journey/router.rb:56:in `each'
journey (1.0.4) lib/journey/router.rb:56:in `call'
actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.4.1) lib/rack/etag.rb:23:in `call'
rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__1844944905888961889__call__3562201413987575252__callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.1) lib/rack/lock.rb:15:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
railties (3.2.9) lib/rails/engine.rb:479:in `call'
railties (3.2.9) lib/rails/application.rb:223:in `call'
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
/Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

Request

*Parameters*:

{"utf8"=>"✓",
"_method"=>"put",
"authenticity_token"=>"G1jcXSkLNpgo3aIsfOu5AcTN2YT/kX3zoVy5Nk4hl4c=",
"payment_method"=>{"name"=>"Credit / Debit Card",
"description"=>"",
"environment"=>"development",
"display_on"=>"",
"active"=>"true"},
"gateway_worldpay"=>{"preferred_login"=>"123456789",
"preferred_password"=>"[FILTERED]",
"preferred_currency"=>"GBP",
"preferred_installation_id"=>"123456789",
"preferred_american_express_login"=>"123456789",
"preferred_discover_login"=>"123456789",
"preferred_jcb_login"=>"123456789",
"preferred_mastercard_login"=>"123456789",
"preferred_maestro_login"=>"123456789",
"preferred_visa_login"=>"123456789",
"preferred_server"=>"test",
"preferred_test_mode"=>"1"},
"commit"=>"Update",
"id"=>"3"}

Show session dump <http://local.nature.com/admin/payment_methods/3#>

Show env dump <http://local.nature.com/admin/payment_methods/3#>
Response

*Headers*:

None
GIT

   remote: git://github.com/spree/spree_gateway.git

   revision: e50a0756d76971282a0cd9f3cf711ba981cb7d8b

   branch: 1-2-stable

   specs:

     spree_gateway (1.2.0)

       spree_core (~> 1.0)

GEM
   remote: https://rubygems.org/

   specs:
>
     actionmailer (3.2.9)

       actionpack (= 3.2.9)

       mail (~> 2.4.4)

     actionpack (3.2.9)

       activemodel (= 3.2.9)

       activesupport (= 3.2.9)

       builder (~> 3.0.0)

       erubis (~> 2.7.0)

       journey (~> 1.0.4)

       rack (~> 1.4.0)

       rack-cache (~> 1.2)

       rack-test (~> 0.6.1)

       sprockets (~> 2.2.1)

     active_utils (1.0.5)

       activesupport (>= 2.3.11)

       i18n

     activemerchant (1.28.0)

       active_utils (>= 1.0.2)

       activesupport (>= 2.3.11)

       builder (>= 2.0.0)

       i18n

       json (>= 1.5.1)

       money

       nokogiri

     activemodel (3.2.9)

       activesupport (= 3.2.9)

       builder (~> 3.0.0)

     activerecord (3.2.9)

       activemodel (= 3.2.9)

       activesupport (= 3.2.9)

       arel (~> 3.0.2)

       tzinfo (~> 0.3.29)

     activeresource (3.2.9)

       activemodel (= 3.2.9)

       activesupport (= 3.2.9)

     activesupport (3.2.9)

       i18n (~> 0.6)

       multi_json (~> 1.0)

     acts_as_list (0.1.4)

     arel (3.0.2)

     awesome_nested_set (2.1.4)

       activerecord (>= 3.0.0)

     aws-sdk (1.3.9)

       httparty (~> 0.7)

       json (~> 1.4)

       nokogiri (>= 1.4.4)

       uuidtools (~> 2.1)

     builder (3.0.4)
>
     cancan (1.6.7)

     cocaine (0.4.2)

     coderay (1.0.8)

     coffee-rails (3.2.2)

       coffee-script (>= 2.2.0)

       railties (~> 3.2.0)

     coffee-script (2.2.0)

       coffee-script-source

       execjs

     coffee-script-source (1.4.0)

     deface (0.9.1)

       nokogiri (~> 1.5.0)

       rails (~> 3.1)

     diff-lcs (1.1.3)

     erubis (2.7.0)

     execjs (1.4.0)

       multi_json (~> 1.0)

     ffaker (1.12.1)

     foreman (0.58.0)

       thor (>= 0.13.6)

     highline (1.6.11)

     hike (1.2.1)

     httparty (0.8.3)

       multi_json (~> 1.0)

       multi_xml

     i18n (0.6.1)

     journey (1.0.4)

     jquery-rails (2.1.4)

       railties (>= 3.0, < 5.0)

       thor (>= 0.14, < 2.0)

     json (1.7.5)

     kaminari (0.13.0)

       actionpack (>= 3.0.0)

       activesupport (>= 3.0.0)

       railties (>= 3.0.0)

     kgio (2.7.4)

     libv8 (3.3.10.4)

     machinist (2.0)

     mail (2.4.4)

       i18n (>= 0.4.0)

       mime-types (~> 1.16)

       treetop (~> 1.4.8)

     method_source (0.8.1)

     mime-types (1.19)

     money (5.0.0)

       i18n (~> 0.4)

       json

     multi_json (1.4.0)

     multi_xml (0.5.1)

     mysql2 (0.3.11)

     nokogiri (1.5.5)

     paperclip (2.8.0)

       activerecord (>= 2.3.0)

       activesupport (>= 2.3.2)

       cocaine (>= 0.0.2)

       mime-types

     polyamorous (0.5.0)

       activerecord (~> 3.0)

     polyglot (0.3.3)

     pry (0.9.10)

       coderay (~> 1.0.5)

       method_source (~> 0.8)

       slop (~> 3.3.1)

     pry-rails (0.2.2)

       pry (>= 0.9.10)

     rabl (0.7.2)

       activesupport (>= 2.3.14)

       multi_json (~> 1.0)

     rack (1.4.1)

     rack-cache (1.2)

       rack (>= 0.4)

     rack-ssl (1.3.2)

       rack

     rack-test (0.6.2)

       rack (>= 1.0)

     rails (3.2.9)

       actionmailer (= 3.2.9)

       actionpack (= 3.2.9)

       activerecord (= 3.2.9)

       activeresource (= 3.2.9)

       activesupport (= 3.2.9)

       bundler (~> 1.0)

       railties (= 3.2.9)

     railties (3.2.9)

       actionpack (= 3.2.9)

       activesupport (= 3.2.9)

       rack-ssl (~> 1.3.2)

       rake (>= 0.8.7)

       rdoc (~> 3.4)

       thor (>= 0.14.6, < 2.0)

     raindrops (0.10.0)

     rake (10.0.2)

     ransack (0.7.0)

       actionpack (~> 3.0)

       activerecord (~> 3.0)

       polyamorous (~> 0.5.0)

     rdoc (3.12)

       json (~> 1.4)

     rspec-core (2.12.0)

     rspec-expectations (2.12.0)

       diff-lcs (~> 1.1.3)

     rspec-mocks (2.12.0)

     rspec-rails (2.12.0)

       actionpack (>= 3.0)

       activesupport (>= 3.0)

       railties (>= 3.0)

       rspec-core (~> 2.12.0)

       rspec-expectations (~> 2.12.0)

       rspec-mocks (~> 2.12.0)

     sass (3.2.3)

     sass-rails (3.2.5)

       railties (~> 3.2.0)

       sass (>= 3.1.10)

       tilt (~> 1.3)

     select2-rails (3.2.1)

       thor (~> 0.14)

     slop (3.3.3)

     spree (1.2.2)

       spree_api (= 1.2.2)

       spree_cmd (= 1.2.2)

       spree_core (= 1.2.2)

       spree_dash (= 1.2.2)

       spree_promo (= 1.2.2)

       spree_sample (= 1.2.2)

     spree_api (1.2.2)

       spree_core (= 1.2.2)

     spree_cmd (1.2.2)

       thor (>= 0.14.6)

     spree_core (1.2.2)

       activemerchant (= 1.28.0)

       acts_as_list (= 0.1.4)

       awesome_nested_set (= 2.1.4)

       aws-sdk (~> 1.3.4)

       cancan (= 1.6.7)

       deface (>= 0.9.0)

       ffaker (~> 1.12.0)

       highline (= 1.6.11)

       jquery-rails (~> 2.0)

       kaminari (= 0.13.0)

       money (= 5.0.0)

       paperclip (~> 2.8)

       rabl (= 0.7.2)

       rails (~> 3.2.9)

       ransack (~> 0.7.0)

       select2-rails (~> 3.0)

       state_machine (= 1.1.2)

       stringex (~> 1.3.2)

     spree_dash (1.2.2)

       httparty (~> 0.8.1)

       spree_core (= 1.2.2)

     spree_promo (1.2.2)

       spree_core (= 1.2.2)

     spree_sample (1.2.2)

       spree_core (= 1.2.2)

     sprockets (2.2.2)

       hike (~> 1.2)

       multi_json (~> 1.0)

       rack (~> 1.0)

       tilt (~> 1.1, != 1.3.0)

     state_machine (1.1.2)

     stringex (1.3.3)

     therubyracer (0.10.2)

       libv8 (~> 3.3.10)

     thor (0.16.0)

     tilt (1.3.3)

     treetop (1.4.12)

       polyglot

       polyglot (>= 0.3.1)

     tzinfo (0.3.35)

     uglifier (1.3.0)

       execjs (>= 0.3.0)

       multi_json (~> 1.0, >= 1.0.2)

     unicorn (4.4.0)

       kgio (~> 2.6)

       rack

       raindrops (~> 0.7)

     uuidtools (2.1.3)

PLATFORMS
   ruby

DEPENDENCIES
   coffee-rails (~> 3.2.1)
>
   foreman

   jquery-rails

   machinist

   mysql2

   pry-rails

   rails (= 3.2.9)

   rspec-rails

   sass-rails (~> 3.2.3)

   spree (= 1.2.2)

   spree_gateway!

   therubyracer

   uglifier (>= 1.0.3)

   unicorn


--
You received this message because you are subscribed to the Google Groups "Spree" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/N_DlRBebFhcJ.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

Search Discussions

  • Ted at Dec 10, 2012 at 3:49 pm
    Try switching to the master branch of spree_gateway. You may be
    encountering an issue that's been fixed there but hasn't made it into
    stable yet.
    On Monday, December 10, 2012 9:08:29 AM UTC-5, Darren Oakley wrote:

    Hi All,

    I'm just getting started with Spree (my company is looking into using it
    for their e-commerce needs), but I've run into a problem I can't get to the
    bottom of - fingers crossed someone here will be able to help...

    Basically my problem is the same as in this post:
    https://groups.google.com/forum/?fromgroups=#!searchin/spree-user/spree_gateway$20mass-assignment/spree-user/PxFcp0nh5qA/64uL8gNlmpYJ- I'm getting mass-assignment errors when trying to update payment gateway
    details.

    But, i'm using the latest Spree (1.2.2) and the 1-2-stable branch of
    spree_gateway on a completely new rails app. It looks like this should not
    be happening following these changes (
    https://github.com/spree/spree/pull/1393 and
    https://github.com/spree/spree_gateway/pull/9), but it is for me...

    Can anyone give me any pointers as to where to start figuring this one out?

    Thanks in advance,

    Daz

    P.S. Here's the stack trace and my Gemfile, but the app itself is pretty
    much empty...

    ActiveModel::MassAssignmentSecurity::Error in
    Spree::Admin::PaymentMethodsController#update

    Can't mass-assign protected attributes: preferred_discover_login

    Rails.root: /Users/d.oakley/projects/e-commerce
    Application Trace <http://local.nature.com/admin/payment_methods/3#> | Framework
    Trace <http://local.nature.com/admin/payment_methods/3#> | Full Trace<http://local.nature.com/admin/payment_methods/3#>

    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
    activemodel (3.2.9) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
    activerecord (3.2.9) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
    activerecord (3.2.9) lib/active_record/persistence.rb:216:in `block in update_attributes'
    activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/persistence.rb:215:in `update_attributes'
    spree_core (1.2.2) app/controllers/spree/admin/payment_methods_controller.rb:36:in `update'
    actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
    activesupport (3.2.9) lib/active_support/callbacks.rb:491:in `_run__4409258110614447048__process_action__4431287857354612053__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
    activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
    activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
    actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
    actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
    rack (1.4.1) lib/rack/etag.rb:23:in `call'
    rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
    rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
    rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
    activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__1844944905888961889__call__3562201413987575252__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
    railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
    activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
    rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
    rack (1.4.1) lib/rack/runtime.rb:17:in `call'
    activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
    rack (1.4.1) lib/rack/lock.rb:15:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/application.rb:223:in `call'
    rack (1.4.1) lib/rack/content_length.rb:14:in `call'
    railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
    rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

    Request

    *Parameters*:

    {"utf8"=>"✓",
    "_method"=>"put",
    "authenticity_token"=>"G1jcXSkLNpgo3aIsfOu5AcTN2YT/kX3zoVy5Nk4hl4c=",
    "payment_method"=>{"name"=>"Credit / Debit Card",
    "description"=>"",
    "environment"=>"development",
    "display_on"=>"",
    "active"=>"true"},
    "gateway_worldpay"=>{"preferred_login"=>"123456789",
    "preferred_password"=>"[FILTERED]",
    "preferred_currency"=>"GBP",
    "preferred_installation_id"=>"123456789",
    "preferred_american_express_login"=>"123456789",
    "preferred_discover_login"=>"123456789",
    "preferred_jcb_login"=>"123456789",
    "preferred_mastercard_login"=>"123456789",
    "preferred_maestro_login"=>"123456789",
    "preferred_visa_login"=>"123456789",
    "preferred_server"=>"test",
    "preferred_test_mode"=>"1"},
    "commit"=>"Update",
    "id"=>"3"}

    Show session dump <http://local.nature.com/admin/payment_methods/3#>

    Show env dump <http://local.nature.com/admin/payment_methods/3#>
    Response

    *Headers*:

    None
    GIT

    remote: git://github.com/spree/spree_gateway.git

    revision: e50a0756d76971282a0cd9f3cf711ba981cb7d8b

    branch: 1-2-stable

    specs:

    spree_gateway (1.2.0)

    spree_core (~> 1.0)

    GEM
    remote: https://rubygems.org/

    specs:
    actionmailer (3.2.9)

    actionpack (= 3.2.9)

    mail (~> 2.4.4)

    actionpack (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    erubis (~> 2.7.0)

    journey (~> 1.0.4)

    rack (~> 1.4.0)

    rack-cache (~> 1.2)

    rack-test (~> 0.6.1)

    sprockets (~> 2.2.1)

    active_utils (1.0.5)

    activesupport (>= 2.3.11)

    i18n

    activemerchant (1.28.0)

    active_utils (>= 1.0.2)

    activesupport (>= 2.3.11)

    builder (>= 2.0.0)

    i18n

    json (>= 1.5.1)

    money

    nokogiri

    activemodel (3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    activerecord (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    arel (~> 3.0.2)

    tzinfo (~> 0.3.29)

    activeresource (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    activesupport (3.2.9)

    i18n (~> 0.6)

    multi_json (~> 1.0)

    acts_as_list (0.1.4)

    arel (3.0.2)

    awesome_nested_set (2.1.4)

    activerecord (>= 3.0.0)

    aws-sdk (1.3.9)

    httparty (~> 0.7)

    json (~> 1.4)

    nokogiri (>= 1.4.4)

    uuidtools (~> 2.1)

    builder (3.0.4)
    cancan (1.6.7)

    cocaine (0.4.2)

    coderay (1.0.8)

    coffee-rails (3.2.2)

    coffee-script (>= 2.2.0)

    railties (~> 3.2.0)

    coffee-script (2.2.0)

    coffee-script-source

    execjs

    coffee-script-source (1.4.0)

    deface (0.9.1)

    nokogiri (~> 1.5.0)

    rails (~> 3.1)

    diff-lcs (1.1.3)

    erubis (2.7.0)

    execjs (1.4.0)

    multi_json (~> 1.0)

    ffaker (1.12.1)

    foreman (0.58.0)

    thor (>= 0.13.6)

    highline (1.6.11)

    hike (1.2.1)

    httparty (0.8.3)

    multi_json (~> 1.0)

    multi_xml

    i18n (0.6.1)

    journey (1.0.4)

    jquery-rails (2.1.4)

    railties (>= 3.0, < 5.0)

    thor (>= 0.14, < 2.0)

    json (1.7.5)

    kaminari (0.13.0)

    actionpack (>= 3.0.0)

    activesupport (>= 3.0.0)

    railties (>= 3.0.0)

    kgio (2.7.4)

    libv8 (3.3.10.4)

    machinist (2.0)

    mail (2.4.4)

    i18n (>= 0.4.0)

    mime-types (~> 1.16)

    treetop (~> 1.4.8)

    method_source (0.8.1)

    mime-types (1.19)

    money (5.0.0)

    i18n (~> 0.4)

    json

    multi_json (1.4.0)

    multi_xml (0.5.1)

    mysql2 (0.3.11)

    nokogiri (1.5.5)

    paperclip (2.8.0)

    activerecord (>= 2.3.0)

    activesupport (>= 2.3.2)

    cocaine (>= 0.0.2)

    mime-types

    polyamorous (0.5.0)

    activerecord (~> 3.0)

    polyglot (0.3.3)

    pry (0.9.10)

    coderay (~> 1.0.5)

    method_source (~> 0.8)

    slop (~> 3.3.1)

    pry-rails (0.2.2)

    pry (>= 0.9.10)

    rabl (0.7.2)

    activesupport (>= 2.3.14)

    multi_json (~> 1.0)

    rack (1.4.1)

    rack-cache (1.2)

    rack (>= 0.4)

    rack-ssl (1.3.2)

    rack

    rack-test (0.6.2)

    rack (>= 1.0)

    rails (3.2.9)

    actionmailer (= 3.2.9)

    actionpack (= 3.2.9)

    activerecord (= 3.2.9)

    activeresource (= 3.2.9)

    activesupport (= 3.2.9)

    bundler (~> 1.0)

    railties (= 3.2.9)

    railties (3.2.9)

    actionpack (= 3.2.9)

    activesupport (= 3.2.9)

    rack-ssl (~> 1.3.2)

    rake (>= 0.8.7)

    rdoc (~> 3.4)

    thor (>= 0.14.6, < 2.0)

    raindrops (0.10.0)

    rake (10.0.2)

    ransack (0.7.0)

    actionpack (~> 3.0)

    activerecord (~> 3.0)

    polyamorous (~> 0.5.0)

    rdoc (3.12)

    json (~> 1.4)

    rspec-core (2.12.0)

    rspec-expectations (2.12.0)

    diff-lcs (~> 1.1.3)

    rspec-mocks (2.12.0)

    rspec-rails (2.12.0)

    actionpack (>= 3.0)

    activesupport (>= 3.0)

    railties (>= 3.0)

    rspec-core (~> 2.12.0)

    rspec-expectations (~> 2.12.0)

    rspec-mocks (~> 2.12.0)

    sass (3.2.3)

    sass-rails (3.2.5)

    railties (~> 3.2.0)

    sass (>= 3.1.10)

    tilt (~> 1.3)

    select2-rails (3.2.1)

    thor (~> 0.14)

    slop (3.3.3)

    spree (1.2.2)

    spree_api (= 1.2.2)

    spree_cmd (= 1.2.2)

    spree_core (= 1.2.2)

    spree_dash (= 1.2.2)

    spree_promo (= 1.2.2)

    spree_sample (= 1.2.2)

    spree_api (1.2.2)

    spree_core (= 1.2.2)

    spree_cmd (1.2.2)

    thor (>= 0.14.6)

    spree_core (1.2.2)

    activemerchant (= 1.28.0)

    acts_as_list (= 0.1.4)

    awesome_nested_set (= 2.1.4)

    aws-sdk (~> 1.3.4)

    cancan (= 1.6.7)

    deface (>= 0.9.0)

    ffaker (~> 1.12.0)

    highline (= 1.6.11)

    jquery-rails (~> 2.0)

    kaminari (= 0.13.0)

    money (= 5.0.0)

    paperclip (~> 2.8)

    rabl (= 0.7.2)

    rails (~> 3.2.9)

    ransack (~> 0.7.0)

    select2-rails (~> 3.0)

    state_machine (= 1.1.2)

    stringex (~> 1.3.2)

    spree_dash (1.2.2)

    httparty (~> 0.8.1)

    spree_core (= 1.2.2)

    spree_promo (1.2.2)

    spree_core (= 1.2.2)

    spree_sample (1.2.2)

    spree_core (= 1.2.2)

    sprockets (2.2.2)

    hike (~> 1.2)

    multi_json (~> 1.0)

    rack (~> 1.0)

    tilt (~> 1.1, != 1.3.0)

    state_machine (1.1.2)

    stringex (1.3.3)

    therubyracer (0.10.2)

    libv8 (~> 3.3.10)

    thor (0.16.0)

    tilt (1.3.3)

    treetop (1.4.12)

    polyglot

    polyglot (>= 0.3.1)

    tzinfo (0.3.35)

    uglifier (1.3.0)

    execjs (>= 0.3.0)

    multi_json (~> 1.0, >= 1.0.2)

    unicorn (4.4.0)

    kgio (~> 2.6)

    rack

    raindrops (~> 0.7)

    uuidtools (2.1.3)

    PLATFORMS
    ruby

    DEPENDENCIES
    coffee-rails (~> 3.2.1)
    foreman

    jquery-rails

    machinist

    mysql2

    pry-rails

    rails (= 3.2.9)

    rspec-rails

    sass-rails (~> 3.2.3)

    spree (= 1.2.2)

    spree_gateway!

    therubyracer

    uglifier (>= 1.0.3)

    unicorn

    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To view this discussion on the web visit https://groups.google.com/d/msg/spree-user/-/xu4VQI0E7bgJ.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
  • Ryan Bigg at Dec 10, 2012 at 10:08 pm
    Hi Darren,

    I agree with Ted: please try the master branch and see if that works for
    you.

    If it doesn't, please file an issue on
    https://github.com/spree/spree_gateway and I will take a look at it as soon
    as I can.

    On Tue, Dec 11, 2012 at 1:08 AM, Darren Oakley wrote:

    Hi All,

    I'm just getting started with Spree (my company is looking into using it
    for their e-commerce needs), but I've run into a problem I can't get to the
    bottom of - fingers crossed someone here will be able to help...

    Basically my problem is the same as in this post:
    https://groups.google.com/forum/?fromgroups=#!searchin/spree-user/spree_gateway$20mass-assignment/spree-user/PxFcp0nh5qA/64uL8gNlmpYJ- I'm getting mass-assignment errors when trying to update payment gateway
    details.

    But, i'm using the latest Spree (1.2.2) and the 1-2-stable branch of
    spree_gateway on a completely new rails app. It looks like this should not
    be happening following these changes (
    https://github.com/spree/spree/pull/1393 and
    https://github.com/spree/spree_gateway/pull/9), but it is for me...

    Can anyone give me any pointers as to where to start figuring this one out?

    Thanks in advance,

    Daz

    P.S. Here's the stack trace and my Gemfile, but the app itself is pretty
    much empty...

    ActiveModel::MassAssignmentSecurity::Error in
    Spree::Admin::PaymentMethodsController#update

    Can't mass-assign protected attributes: preferred_discover_login

    Rails.root: /Users/d.oakley/projects/e-commerce
    Application Trace <http://local.nature.com/admin/payment_methods/3#> | Framework
    Trace <http://local.nature.com/admin/payment_methods/3#> | Full Trace<http://local.nature.com/admin/payment_methods/3#>

    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
    activemodel (3.2.9) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
    activerecord (3.2.9) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
    activerecord (3.2.9) lib/active_record/persistence.rb:216:in `block in update_attributes'
    activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/persistence.rb:215:in `update_attributes'
    spree_core (1.2.2) app/controllers/spree/admin/payment_methods_controller.rb:36:in `update'
    actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
    activesupport (3.2.9) lib/active_support/callbacks.rb:491:in `_run__4409258110614447048__process_action__4431287857354612053__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
    activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
    activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
    actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
    actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
    rack (1.4.1) lib/rack/etag.rb:23:in `call'
    rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
    rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
    rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
    activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__1844944905888961889__call__3562201413987575252__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
    railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
    activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
    rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
    rack (1.4.1) lib/rack/runtime.rb:17:in `call'
    activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
    rack (1.4.1) lib/rack/lock.rb:15:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/application.rb:223:in `call'
    rack (1.4.1) lib/rack/content_length.rb:14:in `call'
    railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
    rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

    Request

    *Parameters*:

    {"utf8"=>"✓",
    "_method"=>"put",
    "authenticity_token"=>"G1jcXSkLNpgo3aIsfOu5AcTN2YT/kX3zoVy5Nk4hl4c=",
    "payment_method"=>{"name"=>"Credit / Debit Card",
    "description"=>"",
    "environment"=>"development",
    "display_on"=>"",
    "active"=>"true"},
    "gateway_worldpay"=>{"preferred_login"=>"123456789",
    "preferred_password"=>"[FILTERED]",
    "preferred_currency"=>"GBP",
    "preferred_installation_id"=>"123456789",
    "preferred_american_express_login"=>"123456789",
    "preferred_discover_login"=>"123456789",
    "preferred_jcb_login"=>"123456789",
    "preferred_mastercard_login"=>"123456789",
    "preferred_maestro_login"=>"123456789",
    "preferred_visa_login"=>"123456789",
    "preferred_server"=>"test",
    "preferred_test_mode"=>"1"},
    "commit"=>"Update",
    "id"=>"3"}

    Show session dump <http://local.nature.com/admin/payment_methods/3#>

    Show env dump <http://local.nature.com/admin/payment_methods/3#>
    Response

    *Headers*:

    None
    GIT

    remote: git://github.com/spree/spree_gateway.git

    revision: e50a0756d76971282a0cd9f3cf711ba981cb7d8b

    branch: 1-2-stable

    specs:

    spree_gateway (1.2.0)

    spree_core (~> 1.0)

    GEM
    remote: https://rubygems.org/

    specs:
    actionmailer (3.2.9)

    actionpack (= 3.2.9)

    mail (~> 2.4.4)

    actionpack (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    erubis (~> 2.7.0)

    journey (~> 1.0.4)

    rack (~> 1.4.0)

    rack-cache (~> 1.2)

    rack-test (~> 0.6.1)

    sprockets (~> 2.2.1)

    active_utils (1.0.5)

    activesupport (>= 2.3.11)

    i18n

    activemerchant (1.28.0)

    active_utils (>= 1.0.2)

    activesupport (>= 2.3.11)

    builder (>= 2.0.0)

    i18n

    json (>= 1.5.1)

    money

    nokogiri

    activemodel (3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    activerecord (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    arel (~> 3.0.2)

    tzinfo (~> 0.3.29)

    activeresource (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    activesupport (3.2.9)

    i18n (~> 0.6)

    multi_json (~> 1.0)

    acts_as_list (0.1.4)

    arel (3.0.2)

    awesome_nested_set (2.1.4)

    activerecord (>= 3.0.0)

    aws-sdk (1.3.9)

    httparty (~> 0.7)

    json (~> 1.4)

    nokogiri (>= 1.4.4)

    uuidtools (~> 2.1)

    builder (3.0.4)
    cancan (1.6.7)

    cocaine (0.4.2)

    coderay (1.0.8)

    coffee-rails (3.2.2)

    coffee-script (>= 2.2.0)

    railties (~> 3.2.0)

    coffee-script (2.2.0)

    coffee-script-source

    execjs

    coffee-script-source (1.4.0)

    deface (0.9.1)

    nokogiri (~> 1.5.0)

    rails (~> 3.1)

    diff-lcs (1.1.3)

    erubis (2.7.0)

    execjs (1.4.0)

    multi_json (~> 1.0)

    ffaker (1.12.1)

    foreman (0.58.0)

    thor (>= 0.13.6)

    highline (1.6.11)

    hike (1.2.1)

    httparty (0.8.3)

    multi_json (~> 1.0)

    multi_xml

    i18n (0.6.1)

    journey (1.0.4)

    jquery-rails (2.1.4)

    railties (>= 3.0, < 5.0)

    thor (>= 0.14, < 2.0)

    json (1.7.5)

    kaminari (0.13.0)

    actionpack (>= 3.0.0)

    activesupport (>= 3.0.0)

    railties (>= 3.0.0)

    kgio (2.7.4)

    libv8 (3.3.10.4)

    machinist (2.0)

    mail (2.4.4)

    i18n (>= 0.4.0)

    mime-types (~> 1.16)

    treetop (~> 1.4.8)

    method_source (0.8.1)

    mime-types (1.19)

    money (5.0.0)

    i18n (~> 0.4)

    json

    multi_json (1.4.0)

    multi_xml (0.5.1)

    mysql2 (0.3.11)

    nokogiri (1.5.5)

    paperclip (2.8.0)

    activerecord (>= 2.3.0)

    activesupport (>= 2.3.2)

    cocaine (>= 0.0.2)

    mime-types

    polyamorous (0.5.0)

    activerecord (~> 3.0)

    polyglot (0.3.3)

    pry (0.9.10)

    coderay (~> 1.0.5)

    method_source (~> 0.8)

    slop (~> 3.3.1)

    pry-rails (0.2.2)

    pry (>= 0.9.10)

    rabl (0.7.2)

    activesupport (>= 2.3.14)

    multi_json (~> 1.0)

    rack (1.4.1)

    rack-cache (1.2)

    rack (>= 0.4)

    rack-ssl (1.3.2)

    rack

    rack-test (0.6.2)

    rack (>= 1.0)

    rails (3.2.9)

    actionmailer (= 3.2.9)

    actionpack (= 3.2.9)

    activerecord (= 3.2.9)

    activeresource (= 3.2.9)

    activesupport (= 3.2.9)

    bundler (~> 1.0)

    railties (= 3.2.9)

    railties (3.2.9)

    actionpack (= 3.2.9)

    activesupport (= 3.2.9)

    rack-ssl (~> 1.3.2)

    rake (>= 0.8.7)

    rdoc (~> 3.4)

    thor (>= 0.14.6, < 2.0)

    raindrops (0.10.0)

    rake (10.0.2)

    ransack (0.7.0)

    actionpack (~> 3.0)

    activerecord (~> 3.0)

    polyamorous (~> 0.5.0)

    rdoc (3.12)

    json (~> 1.4)

    rspec-core (2.12.0)

    rspec-expectations (2.12.0)

    diff-lcs (~> 1.1.3)

    rspec-mocks (2.12.0)

    rspec-rails (2.12.0)

    actionpack (>= 3.0)

    activesupport (>= 3.0)

    railties (>= 3.0)

    rspec-core (~> 2.12.0)

    rspec-expectations (~> 2.12.0)

    rspec-mocks (~> 2.12.0)

    sass (3.2.3)

    sass-rails (3.2.5)

    railties (~> 3.2.0)

    sass (>= 3.1.10)

    tilt (~> 1.3)

    select2-rails (3.2.1)

    thor (~> 0.14)

    slop (3.3.3)

    spree (1.2.2)

    spree_api (= 1.2.2)

    spree_cmd (= 1.2.2)

    spree_core (= 1.2.2)

    spree_dash (= 1.2.2)

    spree_promo (= 1.2.2)

    spree_sample (= 1.2.2)

    spree_api (1.2.2)

    spree_core (= 1.2.2)

    spree_cmd (1.2.2)

    thor (>= 0.14.6)

    spree_core (1.2.2)

    activemerchant (= 1.28.0)

    acts_as_list (= 0.1.4)

    awesome_nested_set (= 2.1.4)

    aws-sdk (~> 1.3.4)

    cancan (= 1.6.7)

    deface (>= 0.9.0)

    ffaker (~> 1.12.0)

    highline (= 1.6.11)

    jquery-rails (~> 2.0)

    kaminari (= 0.13.0)

    money (= 5.0.0)

    paperclip (~> 2.8)

    rabl (= 0.7.2)

    rails (~> 3.2.9)

    ransack (~> 0.7.0)

    select2-rails (~> 3.0)

    state_machine (= 1.1.2)

    stringex (~> 1.3.2)

    spree_dash (1.2.2)

    httparty (~> 0.8.1)

    spree_core (= 1.2.2)

    spree_promo (1.2.2)

    spree_core (= 1.2.2)

    spree_sample (1.2.2)

    spree_core (= 1.2.2)

    sprockets (2.2.2)

    hike (~> 1.2)

    multi_json (~> 1.0)

    rack (~> 1.0)

    tilt (~> 1.1, != 1.3.0)

    state_machine (1.1.2)

    stringex (1.3.3)

    therubyracer (0.10.2)

    libv8 (~> 3.3.10)

    thor (0.16.0)

    tilt (1.3.3)

    treetop (1.4.12)

    polyglot

    polyglot (>= 0.3.1)

    tzinfo (0.3.35)

    uglifier (1.3.0)

    execjs (>= 0.3.0)

    multi_json (~> 1.0, >= 1.0.2)

    unicorn (4.4.0)

    kgio (~> 2.6)

    rack

    raindrops (~> 0.7)

    uuidtools (2.1.3)

    PLATFORMS
    ruby

    DEPENDENCIES
    coffee-rails (~> 3.2.1)
    foreman

    jquery-rails

    machinist

    mysql2

    pry-rails

    rails (= 3.2.9)

    rspec-rails

    sass-rails (~> 3.2.3)

    spree (= 1.2.2)

    spree_gateway!

    therubyracer

    uglifier (>= 1.0.3)

    unicorn


    --
    You received this message because you are subscribed to the Google Groups
    "Spree" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/spree-user/-/N_DlRBebFhcJ.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to
    spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/spree-user?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To post to this group, send email to spree-user@googlegroups.com.
    To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.
  • Aditya Raghuwanshi at Aug 21, 2013 at 5:31 pm
    I know this is old, but just putting it here for reference. I ran into the
    same issue. I updated the spree_gateway gem to branch 2-0-stable and that
    fixed the error.
    On Tuesday, December 11, 2012 9:40:42 AM UTC-8, Darren Oakley wrote:

    Hi Ted/Ryan,

    Thanks for getting back to me. I tried updating to the master branch as
    suggested and it's the same problem. :(

    I'll submit an issue.

    Thanks,

    Daz
    On Monday, December 10, 2012 10:08:00 PM UTC, Ryan Bigg wrote:

    Hi Darren,

    I agree with Ted: please try the master branch and see if that works for
    you.

    If it doesn't, please file an issue on
    https://github.com/spree/spree_gateway and I will take a look at it as
    soon as I can.

    On Tue, Dec 11, 2012 at 1:08 AM, Darren Oakley wrote:

    Hi All,

    I'm just getting started with Spree (my company is looking into using it
    for their e-commerce needs), but I've run into a problem I can't get to the
    bottom of - fingers crossed someone here will be able to help...

    Basically my problem is the same as in this post:
    https://groups.google.com/forum/?fromgroups=#!searchin/spree-user/spree_gateway$20mass-assignment/spree-user/PxFcp0nh5qA/64uL8gNlmpYJ- I'm getting mass-assignment errors when trying to update payment gateway
    details.

    But, i'm using the latest Spree (1.2.2) and the 1-2-stable branch of
    spree_gateway on a completely new rails app. It looks like this should not
    be happening following these changes (
    https://github.com/spree/spree/pull/1393 and
    https://github.com/spree/spree_gateway/pull/9), but it is for me...

    Can anyone give me any pointers as to where to start figuring this one
    out?

    Thanks in advance,

    Daz

    P.S. Here's the stack trace and my Gemfile, but the app itself is
    pretty much empty...

    ActiveModel::MassAssignmentSecurity::Error in
    Spree::Admin::PaymentMethodsController#update

    Can't mass-assign protected attributes: preferred_discover_login

    Rails.root: /Users/d.oakley/projects/e-commerce
    Application Trace <http://local.nature.com/admin/payment_methods/3#> | Framework
    Trace <http://local.nature.com/admin/payment_methods/3#> | Full Trace<http://local.nature.com/admin/payment_methods/3#>

    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
    activemodel (3.2.9) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
    activemodel (3.2.9) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
    activerecord (3.2.9) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
    activerecord (3.2.9) lib/active_record/persistence.rb:216:in `block in update_attributes'
    activerecord (3.2.9) lib/active_record/transactions.rb:313:in `block in with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:208:in `transaction'
    activerecord (3.2.9) lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
    activerecord (3.2.9) lib/active_record/persistence.rb:215:in `update_attributes'
    spree_core (1.2.2) app/controllers/spree/admin/payment_methods_controller.rb:36:in `update'
    actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
    activesupport (3.2.9) lib/active_support/callbacks.rb:491:in `_run__4409258110614447048__process_action__4431287857354612053__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument'
    activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
    activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument'
    actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
    actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
    activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
    actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process'
    actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process'
    actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
    actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
    spree_core (1.2.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/railtie/configurable.rb:30:in `method_missing'
    journey (1.0.4) lib/journey/router.rb:68:in `block in call'
    journey (1.0.4) lib/journey/router.rb:56:in `each'
    journey (1.0.4) lib/journey/router.rb:56:in `call'
    actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
    rack (1.4.1) lib/rack/etag.rb:23:in `call'
    rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call'
    rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
    rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
    activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call'
    activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__1844944905888961889__call__3562201413987575252__callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback'
    activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
    activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks'
    actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
    railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call'
    activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged'
    railties (3.2.9) lib/rails/rack/logger.rb:16:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call'
    rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
    rack (1.4.1) lib/rack/runtime.rb:17:in `call'
    activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
    rack (1.4.1) lib/rack/lock.rb:15:in `call'
    actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call'
    railties (3.2.9) lib/rails/engine.rb:479:in `call'
    railties (3.2.9) lib/rails/application.rb:223:in `call'
    rack (1.4.1) lib/rack/content_length.rb:14:in `call'
    railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call'
    rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
    /Users/d.oakley/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

    Request

    *Parameters*:

    {"utf8"=>"✓",
    "_method"=>"put",
    "authenticity_token"=>"G1jcXSkLNpgo3aIsfOu5AcTN2YT/kX3zoVy5Nk4hl4c=",
    "payment_method"=>{"name"=>"Credit / Debit Card",
    "description"=>"",
    "environment"=>"development",
    "display_on"=>"",
    "active"=>"true"},
    "gateway_worldpay"=>{"preferred_login"=>"123456789",
    "preferred_password"=>"[FILTERED]",
    "preferred_currency"=>"GBP",
    "preferred_installation_id"=>"123456789",
    "preferred_american_express_login"=>"123456789",
    "preferred_discover_login"=>"123456789",
    "preferred_jcb_login"=>"123456789",
    "preferred_mastercard_login"=>"123456789",
    "preferred_maestro_login"=>"123456789",
    "preferred_visa_login"=>"123456789",
    "preferred_server"=>"test",
    "preferred_test_mode"=>"1"},
    "commit"=>"Update",
    "id"=>"3"}

    Show session dump <http://local.nature.com/admin/payment_methods/3#>

    Show env dump <http://local.nature.com/admin/payment_methods/3#>
    Response

    *Headers*:

    None
    GIT

    remote: git://github.com/spree/spree_gateway.git

    revision: e50a0756d76971282a0cd9f3cf711ba981cb7d8b

    branch: 1-2-stable

    specs:

    spree_gateway (1.2.0)

    spree_core (~> 1.0)

    GEM
    remote: https://rubygems.org/

    specs:
    actionmailer (3.2.9)

    actionpack (= 3.2.9)

    mail (~> 2.4.4)

    actionpack (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    erubis (~> 2.7.0)

    journey (~> 1.0.4)

    rack (~> 1.4.0)

    rack-cache (~> 1.2)

    rack-test (~> 0.6.1)

    sprockets (~> 2.2.1)

    active_utils (1.0.5)

    activesupport (>= 2.3.11)

    i18n

    activemerchant (1.28.0)

    active_utils (>= 1.0.2)

    activesupport (>= 2.3.11)

    builder (>= 2.0.0)

    i18n

    json (>= 1.5.1)

    money

    nokogiri

    activemodel (3.2.9)

    activesupport (= 3.2.9)

    builder (~> 3.0.0)

    activerecord (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    arel (~> 3.0.2)

    tzinfo (~> 0.3.29)

    activeresource (3.2.9)

    activemodel (= 3.2.9)

    activesupport (= 3.2.9)

    activesupport (3.2.9)

    i18n (~> 0.6)

    multi_json (~> 1.0)

    acts_as_list (0.1.4)

    arel (3.0.2)

    awesome_nested_set (2.1.4)

    activerecord (>= 3.0.0)

    aws-sdk (1.3.9)

    httparty (~> 0.7)

    json (~> 1.4)

    nokogiri (>= 1.4.4)

    uuidtools (~> 2.1)

    builder (3.0.4)
    cancan (1.6.7)

    cocaine (0.4.2)

    coderay (1.0.8)

    coffee-rails (3.2.2)

    coffee-script (>= 2.2.0)

    railties (~> 3.2.0)

    coffee-script (2.2.0)

    coffee-script-source

    execjs

    coffee-script-source (1.4.0)

    deface (0.9.1)

    nokogiri (~> 1.5.0)

    rails (~> 3.1)

    diff-lcs (1.1.3)

    erubis (2.7.0)

    execjs (1.4.0)

    multi_json (~> 1.0)

    ffaker (1.12.1)

    foreman (0.58.0)

    thor (>= 0.13.6)

    highline (1.6.11)

    hike (1.2.1)

    httparty (0.8.3)

    multi_json (~> 1.0)

    multi_xml

    i18n (0.6.1)

    journey (1.0.4)

    jquery-rails (2.1.4)

    railties (>= 3.0, < 5.0)

    thor (>= 0.14, < 2.0)

    json (1.7.5)

    kaminari (0.13.0)

    actionpack (>= 3.0.0)

    activesupport (>= 3.0.0)

    railties (>= 3.0.0)

    kgio (2.7.4)

    libv8 (3.3.10.4)

    machinist (2.0)

    mail (2.4.4)

    i18n (>= 0.4.0)

    mime-types (~> 1.16)

    treetop (~> 1.4.8)

    method_source (0.8.1)

    mime-types (1.19)

    money (5.0.0)

    i18n (~> 0.4)

    json

    multi_json (1.4.0)

    multi_xml (0.5.1)

    mysql2 (0.3.11)

    nokogiri (1.5.5)

    paperclip (2.8.0)

    activerecord (>= 2.3.0)

    activesupport (>= 2.3.2)

    cocaine (>= 0.0.2)

    mime-types

    polyamorous (0.5.0)

    activerecord (~> 3.0)

    polyglot (0.3.3)

    pry (0.9.10)

    coderay (~> 1.0.5)

    method_source (~> 0.8)

    slop (~> 3.3.1)

    pry-rails (0.2.2)

    pry (>= 0.9.10)

    rabl (0.7.2)

    activesupport (>= 2.3.14)

    multi_json (~> 1.0)

    rack (1.4.1)

    rack-cache (1.2)

    rack (>= 0.4)

    rack-ssl (1.3.2)

    rack

    rack-test (0.6.2)

    rack (>= 1.0)

    rails (3.2.9)

    actionmailer (= 3.2.9)

    actionpack (= 3.2.9)

    activerecord (= 3.2.9)

    activeresource (= 3.2.9)

    activesupport (= 3.2.9)

    bundler (~> 1.0)

    railties (= 3.2.9)

    railties (3.2.9)

    actionpack (= 3.2.9)

    activesupport (= 3.2.9)

    rack-ssl (~> 1.3.2)

    rake (>= 0.8.7)

    rdoc (~> 3.4)

    thor (>= 0.14.6, < 2.0)

    raindrops (0.10.0)

    rake (10.0.2)

    ransack (0.7.0)

    actionpack (~> 3.0)

    activerecord (~> 3.0)

    polyamorous (~> 0.5.0)

    rdoc (3.12)

    json (~> 1.4)

    rspec-core (2.12.0)

    rspec-expectations (2.12.0)

    diff-lcs (~> 1.1.3)

    rspec-mocks (2.12.0)

    rspec-rails (2.12.0)

    actionpack (>= 3.0)

    activesupport (>= 3.0)

    railties (>= 3.0)

    rspec-core (~> 2.12.0)

    rspec-expectations (~> 2.12.0)

    rspec-mocks (~> 2.12.0)

    sass (3.2.3)

    sass-rails (3.2.5)

    railties (~> 3.2.0)

    sass (>= 3.1.10)

    tilt (~> 1.3)

    select2-rails (3.2.1)

    thor (~> 0.14)

    slop (3.3.3)

    spree (1.2.2)

    spree_api (= 1.2.2)

    spree_cmd (= 1.2.2)

    spree_core (= 1.2.2)

    spree_dash (= 1.2.2)

    spree_promo (= 1.2.2)

    spree_sample (= 1.2.2)

    spree_api (1.2.2)

    spree_core (= 1.2.2)

    spree_cmd (1.2.2)

    thor (>= 0.14.6)

    spree_core (1.2.2)

    activemerchant (= 1.28.0)

    acts_as_list (= 0.1.4)

    awesome_nested_set (= 2.1.4)

    aws-sdk (~> 1.3.4)

    cancan (= 1.6.7)

    deface (>= 0.9.0)

    ffaker (~> 1.12.0)

    highline (= 1.6.11)

    jquery-rails (~> 2.0)

    kaminari (= 0.13.0)

    money (= 5.0.0)

    paperclip (~> 2.8)

    rabl (= 0.7.2)

    rails (~> 3.2.9)

    ransack (~> 0.7.0)

    select2-rails (~> 3.0)

    state_machine (= 1.1.2)

    stringex (~> 1.3.2)

    spree_dash (1.2.2)

    httparty (~> 0.8.1)

    spree_core (= 1.2.2)

    spree_promo (1.2.2)

    spree_core (= 1.2.2)

    spree_sample (1.2.2)

    spree_core (= 1.2.2)

    sprockets (2.2.2)

    hike (~> 1.2)

    multi_json (~> 1.0)

    rack (~> 1.0)

    tilt (~> 1.1, != 1.3.0)

    state_machine (1.1.2)

    stringex (1.3.3)

    therubyracer (0.10.2)

    libv8 (~> 3.3.10)

    thor (0.16.0)

    tilt (1.3.3)

    treetop (1.4.12)

    polyglot

    polyglot (>= 0.3.1)

    tzinfo (0.3.35)

    uglifier (1.3.0)

    execjs (>= 0.3.0)

    multi_json (~> 1.0, >= 1.0.2)

    unicorn (4.4.0)

    kgio (~> 2.6)

    rack

    raindrops (~> 0.7)

    uuidtools (2.1.3)

    PLATFORMS
    ruby

    DEPENDENCIES
    coffee-rails (~> 3.2.1)
    foreman

    jquery-rails

    machinist

    mysql2

    pry-rails

    rails (= 3.2.9)

    rspec-rails

    sass-rails (~> 3.2.3)

    spree (= 1.2.2)

    spree_gateway!

    therubyracer

    uglifier (>= 1.0.3)

    unicorn


    --
    You received this message because you are subscribed to the Google
    Groups "Spree" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/spree-user/-/N_DlRBebFhcJ.
    To post to this group, send email to spree...@googlegroups.com.
    To unsubscribe from this group, send email to
    spree-user+...@googlegroups.com.
    For more options, visit this group at
    http://groups.google.com/group/spree-user?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedDec 10, '12 at 2:35p
activeAug 21, '13 at 5:31p
posts4
users4
websitespreecommerce.com
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase