popupmenu included,snippets for active record made