mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
6.2 KiB
JSON
1 line
6.2 KiB
JSON
[{"user_id": 9389, "stars": [], "topic_id": 35392, "date_created": 1305483742.0117121, "message": "are you calling ::User.new ?", "group_id": 447, "id": 1061704}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484601.2636411, "message": "just noticed that... I'll try to change", "group_id": 447, "id": 1061835}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483284.8501141, "message": "but, it doesn't seem to fix my problem", "group_id": 447, "id": 1061644}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484232.273967, "message": "@martin_sunset thanks for trying :)", "group_id": 447, "id": 1061778}, {"user_id": 26065, "stars": [], "topic_id": 35392, "date_created": 1305484445.7476549, "message": "I just cannot accept defeat, can you put some code up gist, the user model and the radio include", "group_id": 447, "id": 1061809}, {"user_id": 26065, "stars": [], "topic_id": 35392, "date_created": 1305483744.9049621, "message": "try one of the following ::User or YourAppName::User Not sure if it works but worth a try", "group_id": 447, "id": 1061706}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484243.8932731, "message": "@AdamJT Yes, basic Rails 3 structure...", "group_id": 447, "id": 1061780}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484554.8903019, "message": "mmm, I'll try to put something up", "group_id": 447, "id": 1061823}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483357.113343, "message": "What can I do to make sure that when I call \"User.new\" it references my \"User\" model, and not Rdio::User ???", "group_id": 447, "id": 1061659}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483834.888294, "message": "do I need to put my models in some sort of \"Module\" ?", "group_id": 447, "id": 1061718}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483276.3242199, "message": "I got some help from the Ruby group in this topic : https://convore.com/ruby/gem-rdio-overriding-my-user-model-class/", "group_id": 447, "id": 1061643}, {"user_id": 9389, "stars": [], "topic_id": 35392, "date_created": 1305484195.2706611, "message": "What does your User model definition look like? I'm assuming you're using the standard Rails fie structure of app/models/user.rb right?", "group_id": 447, "id": 1061774}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483301.2586191, "message": "I have a rails app with a \"User\" model class. I installed the \"rdio\" gem who contains a \"Rdio::User\" class", "group_id": 447, "id": 1061648}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483780.836328, "message": "I tried ::User.new, but even in console it still references Rdio's...", "group_id": 447, "id": 1061711}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483810.1210971, "message": "and \"YourAppName::User\" format returns me \"NameError: uninitialized constant\"", "group_id": 447, "id": 1061713}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483318.8122759, "message": "but 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": 447, "id": 1061653}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483850.7336831, "message": "thanks a lot for the help by the wa", "group_id": 447, "id": 1061720}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305483852.450273, "message": "way", "group_id": 447, "id": 1061721}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484593.968498, "message": "question : what's the impact of using \"require 'rdio'\" instead of \"gem 'rdio' \" in my gemfile?", "group_id": 447, "id": 1061833}, {"user_id": 26065, "stars": [], "topic_id": 35392, "date_created": 1305484182.091351, "message": "I wish i could help you a bit more, but my knowledge is limited. It probably has to with how you include the rdio gem, I would look into this first.", "group_id": 447, "id": 1061769}, {"user_id": 26065, "stars": [], "topic_id": 35392, "date_created": 1305484706.2348089, "message": "that probably puts it into your global namespace :P", "group_id": 447, "id": 1061852}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484934.035044, "message": "needs to be a config problem... I don't see this coming from within the user model since it's not even called...", "group_id": 447, "id": 1061891}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305485618.144814, "message": "yap, I'll give it a try :)", "group_id": 447, "id": 1061989}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305484733.6372831, "message": "bah, no noticeable effect after the change... :(", "group_id": 447, "id": 1061859}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305485880.057838, "message": "...", "group_id": 447, "id": 1062018}, {"user_id": 26065, "stars": [], "topic_id": 35392, "date_created": 1305485417.9967921, "message": "yeah, and every app has a User model, and rdio is quite popular. Usually those kind of problems end up being a misplaced word or something. Best to take a short break and look at it with fresh eyes", "group_id": 447, "id": 1061954}, {"user_id": 9389, "stars": [], "topic_id": 35392, "date_created": 1305485773.949846, "message": "What happens when you try to access AppName::Application::User in your console?", "group_id": 447, "id": 1062007}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305485868.2282269, "message": ">> MyAppName::Application::User\n=> Rdio::User", "group_id": 447, "id": 1062017}, {"user_id": 9389, "stars": [], "topic_id": 35392, "date_created": 1305486038.162163, "message": "that's yer problem. Somehow the Rdio User model is getting loaded top-level. Seeing some code would help.", "group_id": 447, "id": 1062037}, {"user_id": 21343, "stars": [], "topic_id": 35392, "date_created": 1305486627.201951, "message": "got some help from another friend, and it turns out the Rdio gem includes himself and creates some sort of cycling... I'll fork it and correct it on my side...", "group_id": 447, "id": 1062137}] |