spree/spree — pull request #4620 by BrianTheCoder (2014-04-26 19:53:36+00:00)
Title: Update return_authorization.rb

This should be a belongs_to since the stock_location_id is on the spree_return_authorizations table. Currently it throws an error
```
Failure/Error: trial.purchase!({trial_item.id => :return})
ActiveRecord::StatementInvalid:
PG::UndefinedColumn: ERROR: column spree_stock_locations.return_authorization_id does not exist
LINE 1: ..._locations".* FROM "spree_stock_locations" WHERE "spree_sto...
^
: SELECT "spree_stock_locations".* FROM "spree_stock_locations" WHERE "spree_stock_locations"."return_authorization_id" = $1 LIMIT 1