When you want to override a generator template (without replacing the generator itself), in Rails 3 you can just drop files in appropriately named places in lib/templates and Ra
If anyone's struggling with this, I just got a very basic gem working using the other answers here which you can see for an example: templates