refactor code for creating new acts_as_voodoo instances when saving and HTTP POST requests