Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !856

Allow rails 5.1 usage

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/tiagoamaro/allow-rails-5-1 into master May 03, 2017
  • Overview 8
  • Commits 1
  • Pipelines 0
  • Changes 5

Created by: tiagoamaro

Hello,

First, thank you very much for this gem! It's extremely useful, as its code is quite impressive and clean 🎉 very nice job!

This PR is my attempt to allow Rails 5.1 usage, while keeping the entire test suite green. There are some deprecation warnings, but they're related to database_cleaner:

DEPRECATION WARNING: schema_migrations_table_name is deprecated and will be removed from Rails 5.2 (called from block (2 levels) in <top (required)> at /Users/tiago/Projects/test_apps/administrate/spec/support/database_cleaner.rb:11)

Ran bundle exec rake && bundle exec appraisal rake and everything passed fine :) Also, I'm currently using my fork on a project in production, and it seems to be working fine.

Note: I've noticed a PR to support Rails 5.1 (https://github.com/thoughtbot/administrate/pull/782), but it seems it's tackling more than just allowing this new Rails version to be used, so I decided to open this one.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tiagoamaro/allow-rails-5-1