# File lib/base_object.rb, line 46 def add_link!(object_name, id) @objects << { :type => :link, :method_name => object_name.sanitize, :id => id } @objects << { :type => :text, :method_name => "#{object_name.sanitize}_id", :value => id } end