mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-19 22:50:58 +00:00
1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
[{"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305346771.5898271, "message": "by now, when I call \"User.new\" in my app, it references Rdio's... Even without the \"Rdio::\" prefix... how can I manage that conflict?", "group_id": 109, "id": 1050126}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305346717.328285, "message": "I have a rails app with a \"User\" model class. I installed the \"rdio\" gem who contains a \"Rdio::User\" class", "group_id": 109, "id": 1050117}, {"user_id": 1548, "stars": [], "topic_id": 35246, "date_created": 1305379872.446075, "message": "::User", "group_id": 109, "id": 1052410}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305383445.781574, "message": "Writing it like this will exclude specific Modules?? Nice! I'll give it a try", "group_id": 109, "id": 1052677}, {"user_id": 1548, "stars": [], "topic_id": 35246, "date_created": 1305465520.823854, "message": "Putting :: before the module/class name forces Ruby to look from the top level down. So even if say you're defining a class called Bar in a module called Foo that also has class User, but you want to use the User class from another, you can write ::OtherModule::User to make sure you get the one you actually want.", "group_id": 109, "id": 1059673}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305483188.63257, "message": "damn... this all sounds good and seemed to be the solution... but \"::User\" still references the \"Rdio::User\" class...", "group_id": 109, "id": 1061638}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305488497.476542, "message": "trying to modify it...", "group_id": 109, "id": 1062446}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305488486.5429671, "message": "yes... there is. In one of the gem's file...", "group_id": 109, "id": 1062444}, {"user_id": 1516, "stars": [], "topic_id": 35246, "date_created": 1305488504.7038419, "message": "woah, now that's not very nice :(", "group_id": 109, "id": 1062450}, {"user_id": 1516, "stars": [], "topic_id": 35246, "date_created": 1305488695.979419, "message": "I've sent a pull request: https://github.com/spudtrooper/rdiorb/pull/3", "group_id": 109, "id": 1062497}, {"user_id": 1516, "stars": [], "topic_id": 35246, "date_created": 1305488442.8447299, "message": "@frederickdubois check if there's a \"include Rdio\" somewhere", "group_id": 109, "id": 1062436}, {"user_id": 25001, "stars": [], "topic_id": 35246, "date_created": 1305503072.390193, "message": "It's fixed on github and I pushed a new gem.", "group_id": 109, "id": 1064476}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305686640.8426621, "message": "@spudtrooper thanks a lot, I've seen the update.", "group_id": 109, "id": 1091876}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305686665.6167929, "message": "However, I started getting a new bug that might be related with the removal of this include... here's the stack :", "group_id": 109, "id": 1091877}, {"user_id": 21343, "stars": [], "topic_id": 35246, "date_created": 1305686667.2512701, "message": "NoMethodError: undefined method `camel2underscores' for Rdio:Module\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/base.rb:123:in `fill'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/base.rb:122:in `each'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/base.rb:122:in `fill'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/api.rb:336:in `search'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/api.rb:336:in `map'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/api.rb:336:in `search'\n\tfrom /Library/Ruby/Gems/1.8/gems/rdio-0.0.92/lib/rdio/types.rb:647:in `search'\n\tfrom (irb):2\n", "group_id": 109, "id": 1091878}, {"user_id": 6643, "stars": [], "topic_id": 35246, "date_created": 1305885577.3033631, "message": "The last time I looked at that Gem is was really unrubyish", "group_id": 109, "id": 1123842}] |