On Mon, Apr 19, 2010 at 5:48 AM, Eric B. wrote:
> I am trying to find a nice easy lightweight way to
> find the last 'id' in a mysql database
>
>
That depends on the Datatype of your ID column in the table. It is a Mysql
specific question. By rails default these are signed integer columns which
c
On Mon, Apr 19, 2010 at 5:48 AM, Eric B. wrote:
> I am new to both ruby and rails and a recent project I am trying has got
> me working on it. I am trying to find a nice easy lightweight way to
> find the last 'id' in a mysql database so I can take it and use it as
> the upper bound in a random nu
I am new to both ruby and rails and a recent project I am trying has got
me working on it. I am trying to find a nice easy lightweight way to
find the last 'id' in a mysql database so I can take it and use it as
the upper bound in a random number generator.
My problem is that I haven't found an ea
3 matches
Mail list logo