Emi Matchu
522287ed53
Oh rough, when moving an item list entry from one list to another, our logic to merge their quantities if it's already in that list was just fully crashing! That is, moves without anything to merge were working, but moves that required a merge were raising Internal Server Error 500, because the `list_id` attribute wasn't present. I'm not sure why this ever worked, I'm assuming using `list_id` in the `where` condition would include it in the `select` implicitly in a previous version of Rails? Or maybe Rails used to have fallback behavior to run a second query, instead of raising `MissingAttributeError` like it does now? Well, in any case, this seems to fix it! Whew! |
||
---|---|---|
.. | ||
fundraising | ||
item | ||
alt_style.rb | ||
application_record.rb | ||
auth_record.rb | ||
auth_user.rb | ||
closet_hanger.rb | ||
closet_list.rb | ||
closet_visibility.rb | ||
color.rb | ||
contribution.rb | ||
item.rb | ||
item_outfit_relationship.rb | ||
neopets_connection.rb | ||
neopets_page.rb | ||
outfit.rb | ||
parent_swf_asset_relationship.rb | ||
pet.rb | ||
pet_state.rb | ||
pet_type.rb | ||
species.rb | ||
swf_asset.rb | ||
user.rb | ||
zone.rb |