In a has_many and belongs_to association between 2 tables (Album and
AlbumTracks for argyments sake) I create a new AlbumTrack Object, and
append it to the Album.album_tracks array like so:
album.album_tracks << AlbumTrack.new(params)
The annoying thing is, it is automatically saving the AlbumTrack, with
I dont not want to happen until I explicitly call save on either that
track, or the album that it belongs to.
Surely this can't be the correct behaviour? If so, how on earth do I