I would like to change the form in view.html.erb based on user selection (launching either a jupyter notebook or R notebook). Is this possible?
You can use conn_params
. The trick is to set an environment vairalbe that’ll be written back to the connection.yml
file. Then if it’s in the connection.yml
(like password
or host
) you can use it in the view.html.erb
.
Thank you! I’ll give this a try.