lib/generators/templates/app/controllers/base.rb in beautiful_scaffold-0.3.5 vs lib/generators/templates/app/controllers/base.rb in beautiful_scaffold-0.3.6
- old
+ new
@@ -83,10 +83,10 @@
def edit
end
def create
- @<%= model %> = <%= model_camelize %>.create(params_for_model)
+ @<%= model %> = <%= model_camelize %>.new(params_for_model)
respond_to do |format|
if @<%= model %>.save
format.html {
if params[:mass_inserting] then