[Rails-core] skip-migration option for scaffold, resource generator

2007-06-14 Thread Michael Glaesemann
Hello! I often write my own migration generators to handle custom SQL. The -- skip-migration option for the model generator is very handy for these situations, but I miss this option for the scaffold and resource generators. I've posted a patch[1] that adds --skip-migration to the scaffold

[Rails-core] Re: assert_template... what's the reasoning for looking at the first rendered file?

2007-06-14 Thread Chris Cruft
I've wrestled with the same problem. I first render one of several templates to a string, then include the string within a rendered template. And my testing breaks (or at least is counter-intuitive) as well. It certainly doesn't seem right that rendering to a string dominates (assert_template-w

[Rails-core] Re: assert_template... what's the reasoning for looking at the first rendered file?

2007-06-14 Thread Chris Cruft
I've wrestled with the same problem. I first render one of several templates to a string, then include the string within a rendered template. And my testing breaks (or at least is counter-intuitive) as well. It certainly doesn't seem right that rendering to a string dominates (assert_template-w