Skip to content

Instantly share code, notes, and snippets.

@smpallen99
Last active November 27, 2016 04:35
Show Gist options
  • Save smpallen99/2241d3365aedf0ca3eb884f16def0bb1 to your computer and use it in GitHub Desktop.
Save smpallen99/2241d3365aedf0ca3eb884f16def0bb1 to your computer and use it in GitHub Desktop.
Coherence 0.3.0 to 0.3.1 Upgrade Instructions

Coherence 0.3.0 to 0.3.1 Upgrade Instructions

Update your configuration

A couple email configuration items have changed.

replace:

config :coherence,
  email_from: {"Some Name", "myname@domain.com"}

with:

config :coherence,
  email_from_name: "Some Name",
  email_from_email: "myname@domain.com"

Generate new Boilerplate

The following boilerplate files have been updated:

  • web/controllers/coherence/cofirmation_controller.ex
  • web/controllers/coherence/redirects.ex
  • web/controllers/coherence/registration_controller.ex
  • web/controllers/coherence/session_controller.ex
  • web/emails/coherence/user_email.ex
  • web/models/coherence/user.ex
  • web/templates/coherence/registration/edit.html.eex
  • web/templates/coherence/registration/edit.html.eex
  • web/views/coherence/coherence_view_helpers.ex

To update the boilerplate, run:

mix coherence.install --reinstall

Run a git diff to review the updated files. If you had updated any of the boilerplate files, you may need to manually integrate the changes into the newly generated files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment