Skip to content

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

Description

@petitJAM

#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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions