Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def voip_connection_attributes=(voip_connection_attributes)
- transaction do
- voip_connections.each do |vc|
- vc.destroy
- end
- voip_connection_attributes.each do |attributes|
- voip_connections.build(attributes)
- end
- end
- end
Add Comment
Please, Sign In to add comment