server/lib/cimi/models/resource.rb
# If the model is inherited by another model, we want to clone
# the base schema instead of using the parent model schema, which
# might be modified
#
If the model is inherited by another model, we want to clone
the base schema instead of using the parent model schema, which
might be modified
If the model is inherited by another model we want to clone the base schema instead of using the parent model schema which might be modified
def inherited(child)
          child.instance_eval do
            def schema
              base_schema_cloned? ? @schema : clone_base_schema
            end
          end
        end
def inherited ( child ) child . instance_eval do def schema base_schema_cloned? ? @schema : clone_base_schema end end end
If the model is inherited by another model, we want to clone
the base schema instead of using the parent model schema, which
might be modified
If the model is inherited by another model we want to clone the base schema instead of using the parent model schema which might be modified
child
<not_specific>