thomas-mcdonald / serel

A Stack Exchange Relational Algebra. Or something along those lines.

Home Page:http://serel.tom.is

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frustrated by lack of doc, examples

BobWalsh opened this issue · comments

It would really help if this gem had more examples/doc. Been banging my head all afternoon trying to do what this gem promises, such as:

questions since a give date tagged with a given tag. Tried variations of:
questions = Serel::Question.pagesize(3).sort('votes').fromdate(1362355200).tagged('ruby').get

I think the new version I just pushed to Rubygems should fix this issue.

Basically fromdate and other DateTime related methods were returning the integers passed rather than the relation object. Give it a try and let me know if it works.

That worked!