Uploaded image for project: 'Archive of Our Own'
  1. AO3-5038

Clean up deprecation warnings in rails 4.2

    Details

    • Type: Improvement
    • Status: Deployed
    • Priority: Medium
    • Resolution: DeployedToBeta
    • Affects Version/s: 0.9.193
    • Fix Version/s: 0.9.197
    • Milestone:
      Internal 0.9
    • Difficulty:
      Medium
    • Components:
      AutomatedTests, BackEnd

      Description

      Clean up deprecation warnings in Rails 4.2 by:

      • upgrading the Cucumber gem
      • changing from a secret token initializer to config/secrets.yml
      • changing to the new variable for configuring how static assets are served
      • changing the only_path syntax for the pseud_link method

      Only the last item needs manual testing:

      1. Download a work and confirm that following the pseud link in the byline takes you to the site
      2. View the page source for a work and confirm that the link in the byline uses a relative URL, e.g. <a rel="author" href="/users/USER/pseuds/PSEUD">pseud</a> and not http://test.ao3.org/users/USER/pseuds/PSEUD

        Attachments

          Activity

            People

            • Assignee:
              zz9pzza2 james_
              Reporter:
              zz9pzza2 james_
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: