Skip to content

Instantly share code, notes, and snippets.

@sixtyfive
Created May 31, 2011 13:29
Show Gist options
  • Save sixtyfive/1000500 to your computer and use it in GitHub Desktop.
Save sixtyfive/1000500 to your computer and use it in GitHub Desktop.
app/models/cloze_item.rb:13:in `<top (required)>': superclass mismatch for class Text (TypeError)
---
class ClozeItem < ActiveRecord::Base
...
end
class Text < ClozeItem
...
end
class Gap < ClozeItem
...
end
class Hint < ClozeItem
...
end
---
class TextHeadlinePair < ActiveRecord::Base
...
end
class Text < TextHeadlinePair
...
end
class Headline < TextHeadlinePair
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment