Forum: Ruby on Rails Components and rails

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.
Abdur-Rahman A. (Guest)
on 2005-12-29 21:33
(Received via mailing list)
Hi,

Components are really great in rails for making some needed components.
But I wish to configure those components in three ways. Global
configuration in enviourment.rb, controller specific configuration and
when calling controllers to render, I wish to give some config vars. I
can figure out the last one by using helper, but I don't know how I can
do global configuration and controller specific configuration, can
someone help me with that? Beside that, isn't there a way to use init.rb
like its possible with plugins? I wish to extend formbuilder and add
some custom code to activerecord (for automatic file upload on saving).

thnx in advance...
This topic is locked and can not be replied to.