AgileVentures / WebsiteOne

A website for Agile Ventures
https://www.agileventures.org
Other
143 stars 247 forks source link

Fix ability to link github and gplus ids on profile #3878

Closed mattlindsey closed 1 year ago

mattlindsey commented 1 year ago

After rails 7 and javascript updates, the buttons to link your profile to github and/or gplus still worked but caused the update for other fields to fail. It appeared that the 'PUT' request on the form was being changed to a 'GET.' So I took out the buttons and tests. Possibly something in the add_social_account_button(provider, options) method in application_helper.rb.

See: app/views/devise/registrations/edit.html.erb features/users/omniauth.feature spec/requests/authentications_spec.rb

mattlindsey commented 1 year ago

Need to do these: https://www.honeybadger.io/blog/hb-turbolinks-to-turbo/ https://github.com/heartcombo/devise/wiki/How-To:-Upgrade-to-Devise-4.9.0-%5BHotwire-Turbo-integration%5D https://github.com/hotwired/turbo-rails/blob/main/UPGRADING.md#upgrading-from-rails-ujs--turbolinks-to-turbo