module AmpleAssets
  module FormBuilder

    def asset_drop(method, options = {})
      options.merge!(:object => @object.send(method.to_s.gsub(/_id$/, '')))
      @template.asset_drop(@object_name, method, options)
    end

  end
end
module AmpleAssets
  module FormBuilder

    def asset_drop(method, options = {})
      if options.delete(:serialized)
        options.merge!(:object => AmpleAssets::File.find(options[:value]))
      else
        options.merge!(:object => @object.send(method.to_s.gsub(/_id$/, '')))
      end
      @template.asset_drop(@object_name, method, options)
    end

  end
end
Add conditional for serialized objects
Add conditional for serialized objects
