Forum: Ruby on Rails Where to put customization of plugin?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E3bce57ea4282d89d348aeeb70261f7f?d=identicon&s=25 Jonas Bengtsson (jonas)
on 2006-02-13 18:42
Hi,

I'm wondering if anyone has any recommendations as to where to put
customizations of plugins.

I've tried to put my current setting in environment.rb, so users of my
plugin need to set a global constant before my plugin is loaded. But the
next settings I will add are needed for a Rake task so I'm starting to
believe that it would be better to have a separate settings file in the
plugin directory.

Where's the best place to put the settings? environment.rb? Plugin
directory? Somewhere else? An XML file? :-)

Thanks in advance,
Jonas Bengtsson
This topic is locked and can not be replied to.