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

my.development.rb doesn't actually work. #41

Open
petitJAM opened this issue Aug 14, 2018 · 0 comments
Open

my.development.rb doesn't actually work. #41

petitJAM opened this issue Aug 14, 2018 · 0 comments

Comments

@petitJAM
Copy link
Contributor

#40

I tested this incorrectly before releasing the new version. It doesn't work :(

I was poking around yesterday trying to get it to work. It looks like it's going to work, but then it doesn't actually change the config at all.

When accessing Rails.application.configure from inside the file loaded from the initializer block, it does change if you're looking at it right then, but after when the server actually loads, it isn't changed.

The initializer takes a block like initializer "load my.development.rb if present" do |app|, where app is Rails.application, so I tried using that variable to call configure, but it still didn't work.

Not sure how to fix it.

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

No branches or pull requests

1 participant