The bedroom in my parents house had a wire with a non-grounded outlet extending out from under the base boards. It was built in the 1960's and I can't say it's per code but that's not the first time I've seen something like that. I don't get it since there were plenty of outlets around the room (actually, I think they were non-grounded triple outlets so running out would have been difficult. This house had telephone hookups done the same way rather than installing in a wall panel so I don't think I'd use it as a reference.