Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preload all application's models in the Rake task #48

Merged
merged 1 commit into from
Sep 26, 2017
Merged

Conversation

skalee
Copy link
Contributor

@skalee skalee commented Sep 23, 2017

Load the Rails application eagerly, therefore make maskable models defined. Fixes #46.

@skalee
Copy link
Contributor Author

skalee commented Sep 23, 2017

@kwkwan Can you confirm that it works on your end?

@kwkwan
Copy link
Contributor

kwkwan commented Sep 25, 2017

It works but only if the line listed below is added

require 'ruby-progressbar'

@skalee
Copy link
Contributor Author

skalee commented Sep 26, 2017

You're totally right, @kwkwan! I used to test this gem against some minimal test app, but apparently, that must have happened bit too long ago for the last time. Thanks!

@skalee skalee merged commit 8644635 into master Sep 26, 2017
@skalee skalee deleted the preload-models branch September 26, 2017 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants