Topic: LoadError:: Expected to define

Hi

IM new to Rails and familiarizing myself how it works.

for Now i have dilemma for this problem

Basically i have folder connector inside model
and each file is using different database (dont ask me why its using different databases, as I dont have control to the database structures)

app/models/connector/game_gem.rb

this game_gem.rb contains

class Connector::GameGem < ActiveRecord::Base
  self.abstract.class = true
 establish_connection "gamegem_#{Rails.env}"

and the model that connect to this one contain

class Categroy < Connector::GameGem

and im getting this type of error

LoadError in ItemsController#inventory

Expected /home/superman/themobiles/trunk/app/models/connector/game_gem.rb to define Connector::GameGem