You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What were you trying to do?
it does not play along with a model named Host
What did you end up with (logs, or, even better, example apps are great!)?
it looks like error is happening when it's trying to build a link in a collection view
link_to[actionview (7.2.2) lib/action_view/helpers/url_helper.rb]
209
html_options, options, name = options, name, block if block_given?
options ||= {}
html_options = convert_options_to_data_attributes(options, html_options)
url = url_target(name, options)
html_options["href"] ||= url
content_tag("a", name || url, html_options, &block)
end
>> options
=> #<ActionController::Parameters {"host"=>#<ActionController::Parameters {"order"=>:id, "direction"=>:asc} permitted: false>} permitted: true>
>>
>> url_target(name, options)
!! #<ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash>
>>
What versions are you running?
Rails 7.2.2
administrate 0.20.1
The text was updated successfully, but these errors were encountered:
It is not a reserved word, we have HostsController working with Host model in the main application.
I suspect administrate overwrites host variable in a controller or interferes in some similar way
What were you trying to do?
it does not play along with a model named Host
What did you end up with (logs, or, even better, example apps are great!)?
it looks like error is happening when it's trying to build a link in a collection view
The text was updated successfully, but these errors were encountered: