When did European armies stop using rank formations in combat? For instance, when did they ditch "fire by rank" tactics for more modern tactics like "fire and move"?

by MrAbracks
chikindiner

Here is a good answer on that.