diff --git a/lib/rabl/builder.rb b/lib/rabl/builder.rb
index <HASH>..<HASH> 100644
--- a/lib/rabl/builder.rb
+++ b/lib/rabl/builder.rb
@@ -106,7 +106,8 @@ module Rabl
     # data_name(@user => :person) => :person
     # data_name(@users) => :user
     def data_name(data)
-      return data.values.first if data.is_a?(Hash)
+      return data.values.first if data.is_a?(Hash) # @user => :user
+      data = @_object.send(data) if data.is_a?(Symbol) # :address
       @options[:engine].model_name(data)
     end
Adds support for determining type for data symbols