I am trying to replace tasks with a HABTM relationship in this example. Everything work fine except for the creation of join records.
When I create my location (profiles habtm locations) the location record is added and the profile is added (if new); however, the locations_profiles table is not updated with the association.
Everything else is the same as the tutorial but it does not mention what one would do with habtm relationships.
Any ideas? Do I need to do something more than just @profile.save to make this work?