Rails help

B

Brondoman

I'm about to migrate a .NET app to Rails and need to know the best way
to accomplish a task. Here is what I need to occur:

1) Find the most recent record (LIFO) and mark it as in use so it can
be worked.

That's it. What I found I had trouble with in my .NET app with SQL
server was that when there was a heavy load two people could pull the
same record. In SQL server I had to change the transaction isolation
level but I'm not sure the best 'Rails' way to make this work
(regardless of the underlying database).

Thanks!
Greg Brondo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
474,206
Messages
2,571,068
Members
47,674
Latest member
scazeho

Latest Threads

Top