Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Paul Odeon's latest activity

Friday, December 10 2010
6140 Rails 3 generators won't invoke custom generators was updated in Ruby on Rails
  • Paul Odeon
    Paul Odeon commented at 3:38 PM

    Great, I'll start work on it now, but I'm assuming I don't want to push to docrails until the patch has been accepted?

  • Paul Odeon
    Paul Odeon commented at 2:33 PM

    Ok, I will give it a try and hopefully it gets accepted!

    Cheers

    Paul

  • Paul Odeon
    Paul Odeon commented at 2:28 PM

    Should I issue a pull request in the same way as you've done for the generator patch?

  • Paul Odeon
    Paul Odeon commented at 12:56 PM

    Yes, I'd agree with that.

    As I've never submitted a patch myself before now I'd prefer to defer to you on this.

    I could however do the documentation side of it?

  • Paul Odeon
    Paul Odeon commented at 11:32 AM

    Perhaps, but it doesn't seem possible to plug in the generated generators without modifying their name and putting them into a new module.

    This doesn't seem rig...

3 earlier changes…
  • Paul Odeon
    Paul Odeon commented at 10:27 AM

    I have created a patch which will expand the search path to include toplevel generators like MyHelperGenerator.

    I'm not sure if it will break anything else thou...

  • Paul Odeon
    Paul Odeon commented at 10:02 AM

    I can confirm that setting up the generator in this way works.

    Is this a feature or a bug?

    I think the expectation would be that the default rails generated gen...

  • Paul Odeon
    Paul Odeon commented at 9:09 AM

    Thanks and sorry about the dodgy formatting.

    I'm still looking into it myself and I've got as far as the Rails::Generators.find_by_namespace class method which ...

Thursday, December 09 2010
6140 Rails 3 generators won't invoke custom generators was created in Ruby on Rails