app/models/fiona7/write_obj.rb in infopark_fiona7-1.1.0.0.8 vs app/models/fiona7/write_obj.rb in infopark_fiona7-1.1.0.0.9
- old
+ new
@@ -24,13 +24,9 @@
# otherwise dangling references
# Obj.reflections["children"].klass != Obj
has_many :children, :class_name => 'RailsConnector::AbstractObj', :foreign_key => 'parent_obj_id'
belongs_to :parent, :class_name => 'RailsConnector::AbstractObj', :foreign_key => 'parent_obj_id'
- def self.table_name
- @table_name || self.base_class.table_name
- end
-
# disable STI
if Fiona7.mode == :standalone
# In standalone mode Obj belongs to scrivito
# hence no inheritance
self.inheritance_column = :_type_disabled