lib/model/the_class.rb
NamingConvention provides a translation from database-names to class-names.

It can be overwritten to provide different conventions for different classes, eg. Vertexes or edges
and to introduce distinct naming-conventions in differrent namespaces

To overwrite use 
  class Model < ActiveOrient::Model[:: ...]
    def self.naming_convention
    ( conversion code )
    end
 end
NamingConvention provides a translation from database-names to class-names.
It can be overwritten to provide different conventions for different classes, eg. Vertexes or edges
and to introduce distinct naming-conventions in differrent namespaces

To overwrite use
class Model < ActiveOrient::Model[:: ...]
def self.naming_convention
( conversion code )
end
end
NamingConvention provides a translation from database - names to class - names . It can be overwritten to provide different conventions for different classes eg . Vertexes or edges and to introduce distinct naming - conventions in differrent namespaces To overwrite use class Model < ActiveOrient :: Model [ :: ... ] def self . naming_convention ( conversion code ) end end
def naming_convention name=nil  
    nc =  name.present?? name.to_s : ref_name
     if namespace_prefix.present?
    	 nc.split(namespace_prefix).last.camelize
     else
       nc.camelize
     end
  end
def naming_convention name = nil nc = name . present? ? name . to_s : ref_name if namespace_prefix . present? nc . split ( namespace_prefix ) . last . camelize else nc . camelize end end
NamingConvention provides a translation from database-names to class-names.
NamingConvention provides a translation from database - names to class - names .
name
<not_specific>