mliebelt/rails-generator-scaffold_hmt — Issue #3: Correct changing of models
Author: mliebelt
Created: 2011-10-16 09:34:37+00:00
State: open

Currently the changing of models does not work as expected. I think the reason is that `insert_into_file filename, :after => "class #{model_name.camelize}.*\n" ` does not work as expected. Perhaps it is not possible to include regexpressions in the `:after` clause.

Perhaps it is possible to use `gsub_file` instead.