weixin_39782500 2020-11-22 01:58
浏览 0

Association new.save vs. create

Demonstration:

http://gist.github.com/125200

Many to Many through associations do not create the join records required when doing #new and then #save. However, #create works as expected.

Created by Tony Pitale - 2009-06-30 02:37:50 UTC

Original Lighthouse ticket: http://datamapper.lighthouseapp.com/projects/20609/tickets/889

该提问来源于开源项目:datamapper/dm-core

  • 写回答

17条回答 默认 最新

  • weixin_39782500 2020-11-22 01:58
    关注

    Is there anything I can be doing on this? I tried looking through the code and the specs and I think it’ll take me a little to familiarize myself with it. Any pointers on where to look, or how this might be spec’d and I can take a crack at it.

    by Tony Pitale

    评论

报告相同问题?