an improved device for enabling a user to quickly and securely attach and detach an accessory to the picatinny or tactical rail of a firearm . in a preferred embodiment of the present invention , the device comprises a lower portion , an upper portion and a locking mechanism . the device is relatively inexpensive to manufacture and safe and easy to use .