OOOR Finders

Following behaviors are added

find_by_XX

find_first_by_XX

find_all_by_XX

find_last_by_XX

find_or_create_by

find_or_initialize_by

find_by_xml_id or alias find_by_oid

So we can do:

require"ooor/finders"ResUsers.find_by_xml_id('module.xml_id').idResUsers.find_by_id(23).idResUsers.find_by_name('Administrator').idResUsers.find_by_name!('Administrator').id# Will throw an exception if you put a ! at the end and nothing is found