When adding instances to collections you have to use the addTo
* method for the corresponding collection. The documentation explains this in further detail.
Your action should look like this:
def follow(){
def followUser = User.get(params.id)
def user = User.get(session.user)
user.addToFollowing(followUser)
user.save()
}