method=GET path=/api/v2/suggestions format=html controller=Api::V2::SuggestionsController action=index status=500 error='NoMethodError: undefined method `to_str' for :en:Symbol
おっと
@zundan Oh uh. I think a typo slipped through. to_str instead of to_s...
@Gargron Here's the backtrace:
account_ids = account_ids_for_locale(I18n.locale.to_str.split(/[_-]/).first) - [account.id] - skip_account_ids
^^^^^^^
Did you mean? to_s
to_sym):
app/models/account_suggestions/global_source.rb:9:in `get'
app/models/account_suggestions.rb:12:in `block in get'
app/models/account_suggestions.rb:11:in `each'
app/models/account_suggestions.rb:11:in `each_with_object'
app/models/account_suggestions.rb:11:in `get'
app/controllers/api/v2/suggestions_controller.rb:17:in `set_suggestions'
@zundan I did mean
@Gargron absolutely no problem! I was just grad to be able to catch something :)