{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/f5696f921180666d269c5740733582b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5696f921180666d269c5740733582b1","url":"https://api.github.com/users/EppO","login":"EppO","id":6111},"milestone":{"state":"open","open_issues":4,"url":"https://api.github.com/repos/EppO/rolify/milestones/3","due_on":null,"number":3,"creator":{"avatar_url":"https://secure.gravatar.com/avatar/f5696f921180666d269c5740733582b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5696f921180666d269c5740733582b1","url":"https://api.github.com/users/EppO","login":"EppO","id":6111},"title":"rolify 2.0","description":"Rewrite of all queries for the roles lookup to improve speed.\r\nWill have to find the good balance between the number of DB requests required to process the lookup and the complexity of the query.\r\nWill have to be cross DB compatible too, or at least MySQL, PostgreSQL and if possible SQLite.","closed_issues":1,"created_at":"2011-10-14T14:03:50Z"},"labels":[{"name":"feature requests","color":"e10c02","url":"https://api.github.com/repos/EppO/rolify/labels/feature+requests"}],"updated_at":"2011-11-05T03:54:13Z","assignee":{"avatar_url":"https://secure.gravatar.com/avatar/f5696f921180666d269c5740733582b1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f5696f921180666d269c5740733582b1","url":"https://api.github.com/users/EppO","login":"EppO","id":6111},"comments":0,"closed_at":"2011-11-05T03:54:13Z","url":"https://api.github.com/repos/EppO/rolify/issues/16","body":"Find a way to determine in the initializer whether or not it's loaded by console or server.\r\nCurrently the ugly code is :\r\n\r\n    Rolify.dynamic_shortcuts = <%= options[:dynamic_shortcuts].to_s %> if ARGV[0] != \"db:migrate\"\r\n\r\nI am pretty sure we can clean this up.","html_url":"https://github.com/EppO/rolify/issues/16","number":16,"title":"remove the ugly if-clause in the initializer","id":1936330,"created_at":"2011-10-18T05:02:44Z"},"action":"closed"}