{"pull_request":{"user":{"id":13592,"login":"buntekuh","url":"https://api.github.com/users/buntekuh","avatar_url":"https://secure.gravatar.com/avatar/047c7edcb8e656b2a4e2c53ae70cfc3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"047c7edcb8e656b2a4e2c53ae70cfc3e"},"created_at":"2011-12-16T14:41:38Z","title":"conflict with model named Node","merged_at":null,"review_comments":0,"state":"open","updated_at":"2011-12-16T14:41:38Z","id":603021,"patch_url":"https://github.com/resolve/refinerycms/pull/1185.patch","html_url":"https://github.com/resolve/refinerycms/pull/1185","closed_at":null,"deletions":2,"mergeable":null,"issue_url":"https://github.com/resolve/refinerycms/issues/1185","base":{"user":{"id":15050,"login":"resolve","url":"https://api.github.com/users/resolve","avatar_url":"https://secure.gravatar.com/avatar/0cdb932c12975ec5943b57a308a9bc32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"0cdb932c12975ec5943b57a308a9bc32"},"ref":"master","sha":"ea6db31fb7bfa1ee3a21b300d1d38c99d4c8f7cd","repo":{"created_at":"2009-05-28T20:13:21Z","watchers":1861,"git_url":"git://github.com/resolve/refinerycms.git","open_issues":4,"updated_at":"2011-12-16T14:16:36Z","fork":false,"id":212862,"language":"Ruby","html_url":"https://github.com/resolve/refinerycms","master_branch":null,"name":"refinerycms","description":"An extendable Ruby on Rails 'CMS framework' that supports Rails 3","url":"https://api.github.com/repos/resolve/refinerycms","ssh_url":"git@github.com:resolve/refinerycms.git","clone_url":"https://github.com/resolve/refinerycms.git","pushed_at":"2011-12-16T03:02:28Z","forks":545,"owner":{"id":15050,"login":"resolve","url":"https://api.github.com/users/resolve","avatar_url":"https://secure.gravatar.com/avatar/0cdb932c12975ec5943b57a308a9bc32?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"0cdb932c12975ec5943b57a308a9bc32"},"homepage":"http://refinerycms.com/guides/","size":3596,"private":false,"svn_url":"https://svn.github.com/resolve/refinerycms"},"label":"resolve:master"},"body":"We have a model named Node. crud.rb stumbles over this model, because the the two variables passed to update_child_positions would both be named the same. Therefore we have renamed the node variable to _node as it is only used inside of the function. \r\n\r\nWe changed this in branch master (2.0.0) as well as in 1-0-stable. We currently use 1.0.9","commits":1,"number":1185,"additions":2,"url":"https://api.github.com/repos/resolve/refinerycms/pulls/1185","diff_url":"https://github.com/resolve/refinerycms/pull/1185.diff","_links":{"review_comments":{"href":"https://api.github.com/repos/resolve/refinerycms/pulls/1185/comments"},"html":{"href":"https://github.com/resolve/refinerycms/pull/1185"},"self":{"href":"https://api.github.com/repos/resolve/refinerycms/pulls/1185"},"comments":{"href":"https://api.github.com/repos/resolve/refinerycms/issues/1185/comments"}},"merged_by":null,"comments":0,"head":{"user":{"id":13592,"login":"buntekuh","url":"https://api.github.com/users/buntekuh","avatar_url":"https://secure.gravatar.com/avatar/047c7edcb8e656b2a4e2c53ae70cfc3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"047c7edcb8e656b2a4e2c53ae70cfc3e"},"ref":"master","sha":"12bfde277a7f7fd5a04cc55df27089b8e93392c8","repo":{"created_at":"2011-12-16T14:16:36Z","watchers":1,"git_url":"git://github.com/buntekuh/refinerycms.git","open_issues":0,"updated_at":"2011-12-16T14:29:58Z","fork":true,"id":2995055,"language":"Ruby","html_url":"https://github.com/buntekuh/refinerycms","master_branch":null,"name":"refinerycms","description":"An extendable Ruby on Rails 'CMS framework' that supports Rails 3","url":"https://api.github.com/repos/buntekuh/refinerycms","ssh_url":"git@github.com:buntekuh/refinerycms.git","clone_url":"https://github.com/buntekuh/refinerycms.git","pushed_at":"2011-12-16T14:29:58Z","forks":0,"owner":{"id":13592,"login":"buntekuh","url":"https://api.github.com/users/buntekuh","avatar_url":"https://secure.gravatar.com/avatar/047c7edcb8e656b2a4e2c53ae70cfc3e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"047c7edcb8e656b2a4e2c53ae70cfc3e"},"homepage":"http://refinerycms.com/guides/","size":156,"private":false,"svn_url":"https://svn.github.com/buntekuh/refinerycms"},"label":"buntekuh:master"},"changed_files":1,"merged":false},"number":1185,"action":"opened"}