{"comment":{"created_at":"2011-10-19T20:52:42Z","body":"Correct, it will stop as soon as it finds a match.  My only concern is the number of possible permutations to go through.  Is there a way to group queries together so that we're not asking the DB about each possible match individually?","updated_at":"2011-10-19T20:52:42Z","url":"https://api.github.com/repos/metabahn/farmer_john/issues/comments/2461081","id":2461081,"user":{"avatar_url":"https://secure.gravatar.com/avatar/1a1fa2660552d06bfc2255397bbac646?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1a1fa2660552d06bfc2255397bbac646","url":"https://api.github.com/users/dklatt","id":20484,"login":"dklatt"}},"action":"created","issue":{"number":3,"created_at":"2011-10-17T19:21:46Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"A migration is needed in the event that the data for a constraint field changes. Here's the proposed syntax:\r\n\r\n```ruby\r\nPost.seed(:title, {\r\n  :title => ['Title 1', 'Title 2'],\r\n  :body => 'foo'\r\n})\r\n```","comments":3,"title":"Migrations","updated_at":"2011-10-19T20:52:42Z","url":"https://api.github.com/repos/metabahn/farmer_john/issues/3","id":1932311,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d702bb9bd075a9cef4cb98220f51031a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d702bb9bd075a9cef4cb98220f51031a","url":"https://api.github.com/users/bryanp","id":18920,"login":"bryanp"},"html_url":"https://github.com/metabahn/farmer_john/issues/3","labels":[{"name":"Feature","url":"https://api.github.com/repos/metabahn/farmer_john/labels/Feature","color":"ededed"}],"state":"open"},"legacy":{"issue_id":1932311,"comment_id":2461081}}