If I were you I would have left that place even with the raise, or stuck around just long enough for me to get another opportunity. Clearly they don't value you unless you force they hand. Why stick around for that?
My approach to interviewing was basically reject any companies paying under X, and slowly increase X over time as I got practice interviewing with the easier companies. I was only interviewing with one company that could pay X, and they didn't end up giving me the offer.
I like my coworkers and the work I'm doing, but mainly my current company came in with the highest offer.