Displaying 1 result from an estimated 1 matches for "viewcti".
Did you mean:
viewcfg
2005 Nov 24
0
model classes into module = superclass mismatch
Hello. I''d like to put all my data model classes into a module to avoid name
clashes with other classes. However, when I do so, I get a superclass
mismatch error. My class hierarchy for the class in question looks like
this:
class ViewCTI < ActiveRecord::Base
end
module ORM
class Molecule < ViewCTI
end
end
I load the model classes from the ApplicationController class
class ApplicationController < ActionController::Base
model :orm
layout ''layouts/standard''
end
When I try to execute a controller I...