In the latest lap (27 at the time of writing), inherited scopes are now throwing this error on the client.
class User < ApplicationRecord
scope :active, -> { where(active: true) }
end
class Admin < User
end
Admin.active
# throws
HyperModel fetching records failed, exception caught when applying ["active"] to db object #<Admin::ActiveRecord_Relation:0x00007fe0ce5dd0e8>: method missing
In the latest lap (27 at the time of writing), inherited scopes are now throwing this error on the client.