impress/app
Matchu f997513e87 Update to new scope syntax
Ohh ok, without this change all of our `scope`s were just immediately evaluating the argument and fetching _all_ such matching records immediately, instead of waiting to actually be called. This led to bugs like `pet_type.as_json` returning ALL pet states in the whole db, because the `PetState.emotion_order` scope was being treated as a single predefined query, rather than a query fragment to merge into the current context.

This also explains what happened in 724ed83: that's why things before the scope in the query were being ignored.
2023-07-22 14:04:01 -07:00
..
assets Fix SASS @extend of non-existant class 2023-07-22 13:47:56 -07:00
controllers new donate layout for post-2017 campaign 2018-01-18 17:14:02 -08:00
helpers Fix modeling_i18n_tag crash 2023-07-22 13:34:08 -07:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models Update to new scope syntax 2023-07-22 14:04:01 -07:00
views Remove references to the Stripe gem 2023-07-21 18:54:15 -07:00