As discussed in #627137 (which is probably a duplicate and should be marked as such), Foo.id == Bar.foo feels a bit strange. I see no clarity wins when compared to Foo.id == Bar.foo_id. Bar.foo == Foo might be nice, though.
As discussed in #627137 (which is probably a duplicate and should be marked as such), Foo.id == Bar.foo feels a bit strange. I see no clarity wins when compared to Foo.id == Bar.foo_id. Bar.foo == Foo might be nice, though.