Whatever happened to the effort to get around the electoral college?

A few years ago the Democrats launched an effort to pass laws in various states under which, regardless of how their state voted, their electoral college votes must be cast for the winner of the popular vote in the nationwide general election.  While I didn’t follow these efforts closely, I seem to remember that such laws were passed in a number of states.  Does anyone know if this is right and how this could impact the current election?  Let’s say that Romney wins the popular vote.  Are there any states that will be required to vote their electoral votes for him even if Obama wins the election in those states?  Or vice versa.  What ever came of this effort?