Help with primary/default records
Open source library
Primary is a simple gem/plugin that helps you make sure that you have only one primary / default record in DB. I.e. your site can have multiple languages (stored in db), but only one of them is primary / default.