hi iam using rails 2.1.o when i connected to my mysql.and i created a
scaffold name user.in the database the id of the model user is
incremented to 996332880
is this a problem in 2.1.0
hi iam using rails 2.1.o when i connected to my mysql.and i created a
scaffold name user.in the database the id of the model user is
incremented to 996332880
is this a problem in 2.1.0
Hi,
On Mon, Jun 30, 2008 at 6:46 AM, Lost W.
[email protected] wrote:
hi iam using rails 2.1.o when i connected to my mysql.and i created a
scaffold name user.in the database the id of the model user is
incremented to 996332880
Are you connecting to your test database? Do you have any test
fixtures loaded? Test fixtures get generated IDs, which are usually
very large. If you create a new user after some user fixtures are
loaded, the new ID will be very large as well.
~ j.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs