I''ve used yml files for this in a few plugins I''ve written but
I would
love to hear what others are doing.
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Jonas
Bengtsson
Sent: Monday, February 13, 2006 11:43 AM
To: rails@lists.rubyonrails.org
Subject: [Rails] Where to put customization of plugin?
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
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails