rspec/rspec-rails — pull request #650 by PapePathe (2012-12-07 00:35:20+00:00)
Title: add an it block to ensure that model should have a db column for all initial attributes

When i generate a new new model with your super awesome Rspec there is no failing test at all even if i generate the model with some attributes like **rails g model post title:string** .

I added a feature where the generated spec file include some should have_db_column directives to ensure that if a member of my team drops a column accidentally there i'll be a failing spec!

Thanks again for the super awesome rspec!
I made me a better dev!