EppO/rolify — pull request #232 by cactis (2014-02-26 10:21:08+00:00)
Title: fixed for id ambiguous error

Mysql2::Error: Column 'id' in field list is ambiguous: SELECT id FROM `roles` INNER JOIN `users_roles` ON `roles`.`id` = `users_roles`.`role_id` WHERE `users_roles`.`user_id` = 1 AND `roles`.`name` = 'admin'