I use (and I know many others) uses the "/app" folder to add folder to
extend rails. Some examples would be FormBuilder subclasses, Decorators,
etc.
My problem is that app/{my_extension} pollutes the global namespace. I
would like to have app/form_builders use the FormBuilders namespace so I
can reuse class (My model class). I understand that it may be hard to
implicitly add this feature as it would directly conflict with how
app/controllers and app/models works.
However, adding an option to paths.add "app/form_builders", :module
=>
FormBuilders would allow someone to namespace their project.
Good idea?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.