{"number":1333,"pull_request":{"number":1333,"issue_url":"https://github.com/mongoid/mongoid/issues/1333","head":{"repo":{"master_branch":null,"name":"mongoid","created_at":"2011-10-07T23:13:39Z","size":160,"clone_url":"https://github.com/sporkd/mongoid.git","private":false,"updated_at":"2011-10-08T04:43:23Z","watchers":1,"ssh_url":"git@github.com:sporkd/mongoid.git","url":"https://api.github.com/repos/sporkd/mongoid","git_url":"git://github.com/sporkd/mongoid.git","language":"Ruby","fork":true,"svn_url":"https://svn.github.com/sporkd/mongoid","id":2535880,"pushed_at":"2011-10-08T04:43:21Z","open_issues":0,"homepage":"http://mongoid.org","description":"Ruby ODM framework for MongoDB","forks":0,"html_url":"https://github.com/sporkd/mongoid","owner":{"avatar_url":"https://secure.gravatar.com/avatar/492d8f2ba0e7807519cf4208e8f6d516?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sporkd","id":11115,"login":"sporkd"}},"label":"sporkd:master","sha":"d57d3b0771470065b36cc8fca0dc65c70c94fdd0","ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/492d8f2ba0e7807519cf4208e8f6d516?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sporkd","id":11115,"login":"sporkd"}},"merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/6f09262a13427532461b0b618d445b1e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/durran","id":9030,"login":"durran"},"created_at":"2011-10-08T05:07:36Z","changed_files":3,"merged":true,"body":"This pull request fixes an issue that prevents defining your own custom (serializable) types by simply using your own module namespace.  Mongoid gets confused by type names like `Mongoid::MyMongoidExtension::Time` and uses `Mongoid::Fields::Serializable::Time` instead.\r\n\r\nThe same issue would also happen for custom types like `AnyModule::Date` or `Some::OtherModule::Range`. See specs for more details.","comments":0,"title":"Fixed naming conflicts with custom types","additions":72,"diff_url":"https://github.com/mongoid/mongoid/pull/1333.diff","updated_at":"2011-10-08T11:01:18Z","url":"https://api.github.com/repos/mongoid/mongoid/pulls/1333","id":387439,"patch_url":"https://github.com/mongoid/mongoid/pull/1333.patch","mergeable":null,"merged_at":"2011-10-08T11:01:18Z","commits":1,"closed_at":"2011-10-08T11:01:18Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/492d8f2ba0e7807519cf4208e8f6d516?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/sporkd","id":11115,"login":"sporkd"},"deletions":5,"html_url":"https://github.com/mongoid/mongoid/pull/1333","base":{"repo":{"master_branch":null,"name":"mongoid","created_at":"2009-09-16T16:24:56Z","size":2000,"clone_url":"https://github.com/mongoid/mongoid.git","private":false,"updated_at":"2011-10-08T11:01:18Z","watchers":1739,"ssh_url":"git@github.com:mongoid/mongoid.git","url":"https://api.github.com/repos/mongoid/mongoid","git_url":"git://github.com/mongoid/mongoid.git","language":"Ruby","fork":false,"svn_url":"https://svn.github.com/mongoid/mongoid","id":309009,"pushed_at":"2011-10-08T11:01:18Z","open_issues":66,"homepage":"http://mongoid.org","description":"Ruby ODM framework for MongoDB","forks":509,"html_url":"https://github.com/mongoid/mongoid","owner":{"avatar_url":"https://secure.gravatar.com/avatar/816cd66ab2b1552a1bc99ff774cecf27?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/mongoid","id":262752,"login":"mongoid"}},"label":"mongoid:master","sha":"0b10dd668a0dd8aacb68f9a9c2fe82c1de823f18","ref":"master","user":{"avatar_url":"https://secure.gravatar.com/avatar/816cd66ab2b1552a1bc99ff774cecf27?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","url":"https://api.github.com/users/mongoid","id":262752,"login":"mongoid"}},"state":"closed"},"action":"closed"}