# File lib/reactive_resource/association/has_one_association.rb, line 28 def resolve_relationship(object) id_attribute = "#{klass.name.split("::").last.underscore}_id" associated_class.find(:one, :params => object.prefix_options.merge(id_attribute => object.id)) end