GabeStah / vcp

0 stars 0 forks source link

Clicking Add to VCP in character#show gives AssociationTypeMismatch error. #83

Closed GabeStah closed 9 years ago

GabeStah commented 9 years ago

ActiveRecord::AssociationTypeMismatch in StandingsController#create Character(#66750920) expected, got String(#10955560)

Related to load_and_authorize_resource addition from CanCan:

    def load_and_authorize_resource
      load_resource # THIS LINE CAUSES ISSUE
      authorize_resource
    end