When you're working on a striped project or, say, a ripple afghan like the one pictured, change colour by completing the last step of the last stitch of a row with the working colour and the new colour held together (leave a long tail of the new colour). Drop the old colour and cut the yarn leaving a long tail. Work your turning chain in the new colour, turn, and work the stitches of the new row over both tails to hide and secure them. This works best with animal fibers, as the fibers will grip each other more securely. For more slippery yarns, you can work only a few stitches over the tails to secure them while you work on the project, then weave in the rest of the tails using a yarn needle as you would on any project.
Links:
[1] http://creativecommons.org/licenses/by-nc-nd/3.0/
[2] http://creativecommons.org/licenses/by-nc-nd/3.0/