AFAIK `@options[:extra_attributes]` should be a `Hash` in the form `attribute_name` => `database_column`. Why do you convert this to an array here?