philsturgeon/codeigniter-restserver — pull request #102 by ithinkiam (2012-03-02 22:46:33+00:00)
Title: Limit DB bug

Hey Phil,

As per my email, this is the pull request for the "limit" DB bug I was talking about.

I was having an issue with the library, in that when a URI and key was in the database, then another request came along, instead of adding to the count, it would create another row. So instead of the URI's count increasing by one, it would just create another record.

That meant limits weren't working.

I could *well* be wrong, but it seems to have fixed the problem for me.

Ta