Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Do not allow state to be mass-assigned. State should only be changed

via the state machine.
  • Loading branch information...
commit 265c99e801b53cf731c54f0ee404f9a48a60978e 1 parent 595115c
@schof schof authored radar committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  core/app/models/spree/shipment.rb
2  core/app/models/spree/shipment.rb
@@ -14,7 +14,7 @@ class Shipment < ActiveRecord::Base
attr_accessor :special_instructions
- attr_accessible :order, :state, :shipping_method, :special_instructions,
+ attr_accessible :order, :shipping_method, :special_instructions,
:shipping_method_id, :tracking, :address, :inventory_units
accepts_nested_attributes_for :address
Please sign in to comment.
Something went wrong with that request. Please try again.