1
I have the following configuration
module Account
class Permission < ApplicationRecord
end
end
module Account
class GroupPermission < ApplicationRecord
belongs_to :permission
end
end
Table: account_permissions
name character varying
Table: account_group_permissions
account_permissions_id bigint,
account_groups_id bigint,
When I try to access the Account::Grouppermission instance and access it Account::Permission returns nil.
Only works if I specify the class_name: