Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Resource#adjust undefined local variable or method `args' #4

Open
mbj opened this issue Jul 31, 2011 · 0 comments
Open

Resource#adjust undefined local variable or method `args' #4

mbj opened this issue Jul 31, 2011 · 0 comments

Comments

@mbj
Copy link
Member

mbj commented Jul 31, 2011

Current implementation (master)

def adjust(attributes = {}, reload = false)
  collection_for_self.adjust(*args)
end

Should be?

def adjust(*args)
  collection_for_self.adjust(*args)
end

See:

https://github.com/datamapper/dm-adjust/blob/master/lib/dm-adjust/resource.rb#L3

This was not found by specs?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant