# File lib/tapkit/access/database.rb, line 28 def entity( object ) @models.each do |model| if e = model.entity(object) then return e end end nil end