anchor.diff:                      {ok, [{type, RecordType}, {'record', DummyRecord}]};
                   'POST' ->
                       Record = lists:foldr(fun
  -                                ('id', Acc) -> Acc:id('id');
  +                                ('id', Acc) -> Acc:set(id, 'id');
                                   (Attr, Acc) ->
                                       AttrName = atom_to_list(Attr),
                                       Val = Req:post_param(AttrName),
  
positive.code:                 {_, Record} = lists:foldl(fun(Val, {Counter, Acc}) ->
                              AttrName = lists:nth(Counter, Head),
                              Attr = list_to_atom(AttrName),
                              {Counter + 1, Acc:Attr(Val)}
                      end, {1, DummyRecord}, Line),
                  Record
          end, Rest),
  
negative.code:                                             end;
                                          _ -> Val
                                      end,
                                      Acc:set(Attr, Val1)
                              end, DummyRecord, DummyRecord:attribute_names()),
                      case Record:save() of
                          {ok, SavedRecord} ->
  