Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    the documentation explicitly says, that both optional parameters (what the square brackets stand for) are of type Object/ Hash. Commented Jan 2, 2014 at 13:37
  • 1
    How is this the best answer? As @erndenson notes, square brackets stand for optional and not array. :/ Commented Feb 8, 2014 at 13:23
  • I changed this for accuracy. My original response was wrong, though it fixed the issue because it was expecting an array, but only because the isArray action was set to true. Commented Feb 10, 2014 at 16:37