This project is archived and is in readonly mode.

#530 ✓wontfix
Josh Nichols

support generators from gems named like _generators, -generators, etc

Reported by Josh Nichols | July 1st, 2008 @ 09:44 PM | in 2.x

Currently, generators can only be used from gems named like *_generator.

It would be very nice to be able to have a little more flexibility to name something like foo-generator, bar_generators, baz-generators, etc.

I have one named shoulda-generators, which is the primary motivator for me filing this.

Comments and changes to this ticket

  • Josh Nichols

    Josh Nichols July 1st, 2008 @ 09:48 PM

    • Tag changed from generators to generators, patch

    Here's a patch allowing my proprosed change.

    I didn't see any tests for the existing behavior, but if someone were to point me in the right direction, I'd be more than happen to update them.

  • Pratik

    Pratik July 2nd, 2008 @ 02:56 PM

    • State changed from “new” to “wontfix”

    I think you should just rename your gem to should_generator.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages