ok let me understand it dhval has table_1 and table_2 hes saving some fields in table_1 which is in the instance_variable(object) called abc now he wants to save the contents of object abc in table_2 ok in this case we can use after_save which saves the passed parameters in the mentioned table from table 1 i hope it works do mail me back if it doenst have fun
have A loook at http://api.rubyonrails.org/ sarch for after_save then u can pass the parametrs which you want to
somewhat like Table2.create(:table1_id => table1_id,
:id => [table1.id](http://table1.id),
)
i hope it works u may use after_create check the api link and figure out which suits u the best
see ya have fun