lib/support/conversions.rb
def from_db
        if rid?
          Arcade::Init.db.get  self
        elsif  self =~ /^:.*:$/
          # symbol-representation in the database
          self[1..-2].to_sym
        else
          self
        end
      end
# from db translates the database response into active-orient objects
#
# symbols are representated via ":{something]:}"
#
# database records respond to the "rid"-method
#
# other values are not modified
from db translates the database response into active-orient objects
symbols are representated via ":{something]:}"

database records respond to the "rid"-method

other values are not modified
from db translates the database response into active - orient objects symbols are representated via " : { something ] : } " database records respond to the " rid " - method other values are not modified
def from_db
        if rid?
          Arcade::Init.db.get  self
        elsif  self =~ /^:.*:$/
          self[1..-2].to_sym
        else
          self
        end
      end
def from_db if rid? Arcade :: Init . db . get self elsif self =~ / ^:.*:$ / self [ 1 .. - 2 ] . to_sym else self end end
from db translates the database response into active-orient objects
symbols are representated via ":{something]:}"
from db translates the database response into active - orient objects symbols are representated via " : { something ] : } "
# symbol-representation in the database