To be raised in a barn

To behave crudely like a barnyard animal.

When the boy did not shut the door his mother asked him if he had been raised in a barn.