# Model.save! not saving and not throwing exception

**URL:** <https://www.ruby-forum.com/t/model-save-not-saving-and-not-throwing-exception/159183>\
**Category:** Rails\
**Created:** [February 2, 2009, 12:37am UTC](https://www.ruby-forum.com/t/model-save-not-saving-and-not-throwing-exception/159183 "2009-02-02T00:37:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Emery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c89c15/32.png) [@Mike\_Emery](https://www.ruby-forum.com/u/Mike_Emery)\
**Post date:** [February 2, 2009, 12:37am UTC](https://www.ruby-forum.com/t/model-save-not-saving-and-not-throwing-exception/159183/1 "2009-02-02T00:37:20Z")

</div>

Hi all,

I’ve hit something migrating from rails 2.0.2 to 2.2.2 and I’m wondering  
if  
it’s a bug or if there’s something I’m not aware of coming into play.  
I’ve  
abstracted the problem a little bit but it still reproduces with the  
abstracted example.

I’ve got a model called multi\_save.

class CreateMultiSaves \< ActiveRecord::Migration

> ```
> drop_table :multi_saves
> 
> ```
> 
> end  
> end

class MultiSave \< ActiveRecord::Base

> 

I’ve got a controller looking like:

class MultiSaveController \< ApplicationController

> end

With this code in rails 2.0.2 the second call to save! sends an update  
statement to the database. In 2.2.2 the second call to save! issues no  
call  
to the database. After the first call to save the id\_dependant fields  
gets  
properly as I would expect in both 2.0.2 and 2.2.2.

–  
-Mike
