{"issue":{"created_at":"2011-10-04T07:26:32Z","state":"open","updated_at":"2011-11-26T17:28:39Z","user":{"gravatar_id":"14b3c3b2ae7ad631867a01d872e5d9ef","id":25421,"url":"https://api.github.com/users/benhamill","login":"benhamill","avatar_url":"https://secure.gravatar.com/avatar/14b3c3b2ae7ad631867a01d872e5d9ef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":8,"body":"I've made a branch that would add back in some of the missing rake tasks from Texticle 1.x. i've started by writing some tests for a task that would generate an index migration. This is **NOT YET READY** to be merged. I wanted to put this up as a work-in-progress to get some advice on the way I'm testing this and to see if I got the expected index syntax right.\r\n\r\nI'm going to go ahead as if I've gotten the tsvector stuff right and will update this pull request as I go.","assignee":null,"id":1811005,"pull_request":{"patch_url":"https://github.com/tenderlove/texticle/pull/56.patch","html_url":"https://github.com/tenderlove/texticle/pull/56","diff_url":"https://github.com/tenderlove/texticle/pull/56.diff"},"labels":[],"number":56,"title":"Fts indices","closed_at":null,"html_url":"https://github.com/tenderlove/texticle/issues/56","milestone":null,"url":"https://api.github.com/repos/tenderlove/texticle/issues/56"},"action":"created","comment":{"created_at":"2011-11-26T17:28:39Z","updated_at":"2011-11-26T17:28:39Z","user":{"gravatar_id":"14b3c3b2ae7ad631867a01d872e5d9ef","id":25421,"url":"https://api.github.com/users/benhamill","login":"benhamill","avatar_url":"https://secure.gravatar.com/avatar/14b3c3b2ae7ad631867a01d872e5d9ef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Not a bad idea.Honestly, I was pulling this functionality up straight from version 1 without thinking too hard about whether there was a better interface. It seems reasonable that you'd want to give the model's name.\r\n\r\nCurrently, if you run this twice, it creates the migrations twice, which are OK to run because the first step in the migration is to remove the index if it already exists. However, that's probably counter-intuitive. Rails is not a dependency of this gem, but I also wonder if it would make sense to make an engine for this, as well so you could run `rails g texticle_index` or something. Maybe that would make more sense in some kind of... `texticle-rails` gem or somehting.","id":2882695,"url":"https://api.github.com/repos/tenderlove/texticle/issues/comments/2882695"}}