2011-09-08 4 views
0

이것이 가능한지 모르겠으므로 물어볼 것이라고 생각했습니다.가상 속성이있는 after_save 콜백 레일 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. 

레일즈 3에서이 작업을 수행 할 수 있습니까?

답변

관련 문제