I have often put small sentry turrets inside of my larger ships to defend against boarding attempts. I haven't put one in any of my new ships that incorporate rails, but only because I haven't finished the ships yet. I typically put such turrets at points of entry, such as hangar bays or hallways outside of airlocks. Now that there is no longer a box dimension for turrets, they will be much easier to place.