2011-09-08 11 views
0

これが可能かどうかわかりませんので、私は尋ねると思っていました。仮想属性を持つafter_saveコールバックRails 3

1. Give a model some virtual attributes 
2. Assign values to the model and the virtual attributes 
3. Save the model 
4. Use a callback after_save to create a different object with the virtual attributes. 

これはRails 3で実行できますか?

答えて

関連する問題