ResourceController: Use find_by_foo() instead of where() when looking up parent