```ruby
class BelongsToTokenInput < Formtastic::Inputs::StringInput

	def input_html_options
		super.merge(
			"data-token-limit" => 1,
			"class" => "active-admin-tokeninput",
			"data-field-name" => "#{object_name.to_s.try(:underscore)}[#{method.to_s.singularize}_id]",
			"data-pre" => "[#{object.send("#{method}").to_json(:only => [:id, :name])}]",
			"name" => "",
			"value" => "",
			)
	end
end
```

Remove the try, because we are converting to string now
user
```ruby
class BelongsToTokenInput < Formtastic::Inputs::StringInput

	def input_html_options
		super.merge(
			"data-token-limit" => 1,
			"class" => "active-admin-tokeninput",
			"data-field-name" => "#{object_name.to_s.underscore}[#{method.to_s.singularize}_id]",
			"data-pre" => "[#{object.send("#{method}").to_json(:only => [:id, :name])}]",
			"name" => "",
			"value" => "",
			)
	end
end
```
assistant