Gavin Miller
Gavin Miller

Reputation: 43875

Rails.application.config vs Rails.configuration

Is there any difference between using Rails.application.config vs Rails.configuration when doing custom configuration?

Upvotes: 9

Views: 1624

Answers (1)

Gavin Miller
Gavin Miller

Reputation: 43875

Other than character count, there is no difference between the two methods. They both end up pointing to the same configuration object:

Upvotes: 13

Related Questions