2008/1/18, Matt Palmer <[EMAIL PROTECTED]>:
>
> Is it a bug or a feature that directories that happen to be named
> 'generators' deep inside a plugin (rather than at the top level) get
> searched for generators?
It's a feature :
in lib/rails_generator/lookup.rb it says :
# Use component generators (model, controller, etc).
[...]
# 2. Look in plugins, either for generators/ or rails_generators/
# directories within each plugin
> It's not mentioned by the documentation, but I'm
> wondering if anyone's plugins might be broken by it,
> and if so, whether that's their problem or Rails' problem.
> Just trying to assess whether I should bother submitting a patch or not.
In my opinion, you shouldn't.
-- Jean-François.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---