{"issue":{"state":"open","created_at":"2011-12-03T08:49:59Z","updated_at":"2011-12-15T03:56:59Z","user":{"gravatar_id":"85ccc999889061a6eb47c0b62be34f63","id":87476,"url":"https://api.github.com/users/s8186255","avatar_url":"https://secure.gravatar.com/avatar/85ccc999889061a6eb47c0b62be34f63?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"s8186255"},"comments":3,"body":"my enviroment is rails 3.1.1 and mongoid\r\nI have two models,one in /app/model,another in /app/model/app_dr,their name is the same 'Image' .\r\ni have a controller : app/controllers/app_dr/test_controller.rb .when i use \"Image.create :attachment=>params[app_dr_dr][:image]\",I got error. The error display controller is using \"AppDr::Image.create...\"\r\nwhen i change the Model name ,keep them different,all is ok.\r\n \r\n","assignee":null,"id":2436530,"number":3841,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"cannot distinguish two models In different namespace  ","html_url":"https://github.com/rails/rails/issues/3841","closed_at":null,"milestone":null,"url":"https://api.github.com/repos/rails/rails/issues/3841"},"action":"created","comment":{"created_at":"2011-12-15T03:56:59Z","updated_at":"2011-12-15T03:56:59Z","user":{"gravatar_id":"ee85853909657f47c8a68e8a9bc7d992","id":3948,"url":"https://api.github.com/users/arunagw","avatar_url":"https://secure.gravatar.com/avatar/ee85853909657f47c8a68e8a9bc7d992?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"arunagw"},"body":"@s8186255 Hope you have got the answer. Can we close this?","id":3156429,"url":"https://api.github.com/repos/rails/rails/issues/comments/3156429"}}