Aleksey Glukhov

Results 12 comments of Aleksey Glukhov

I guess we could use sinatra instead and mount it a-la sidekiq. I would suggest using sinatra as a peer dependency to give client apps more flexibility and avoid version...

Yeah, ability to add indices like `CREATE INDEX on users USING gin(to_tsvector('english', first_name)` in models/.*sql view definition files is a must have IMO

I see two options here: either pass column names and languages as a hash in a `is_view` macro, the way unique index is working now, or parse *.sql files looking...

@jasoncodes You could grab anything starting with `CREATE [UNIQUE] INDEX` and ending with `;` and treat that as index query. While pretty simplistic, this approach solves the problem and provides...

Personally, I would rather not fracture definition of the view into 3 files: model file, select query and separate indices query for sake of DRYness. That's why I believe keeping...

Ok, now it really works

You could think about type of id field in terms of operations defined on the type. Integers can be added, substracted, etc., while adding id's together bear no sense at...

+1 for "orphanize" strategy on node deletion

AFAIK, there is already a wrapper gem for ImageMagick, called 'RMagick'. It may be what you want.