Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

during install move application_record.rb to hyperloop/models/application_record.rb #7

Open
catmando opened this issue Jun 10, 2017 · 0 comments

Comments

@catmando
Copy link
Contributor

and leave behind a file that looks like this:

# require application_record from hyperloop/models/application_record.rb so that both client and server have access
# the presence of this file prevents rails migrations from recreating application_record.rb see https://github.com/rails/rails/issues/29407

require 'models/application_record.rb'

and finally add this line to config/hyperloop.rb

  config.import 'models/application_record'

The first second part should reference rails/rails#29407 . When that issue is fixed (if they ever fix it) we will no longer need to have the dummy app/models/application_record.rb file

@catmando catmando changed the title move application_record.rb to hyperloop/models/application_record.rb during install move application_record.rb to hyperloop/models/application_record.rb Jun 10, 2017
@catmando catmando added this to the Release 0.15 milestone Nov 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant