Jeremy Kemper just added pessimistic locking to ActiveRecord:
Person.transaction do person = Person.find(1, :lock => true) person.visits += 1 person.save! end
Breakdown your code and make it more maintainable...why wouldn't you?
Get started with Laravel 5.2
User Interface Design with Sketch 4
Create your next web project with Sketch
Researching UX: Analytics
Understanding is at the heart of good UX
Rails: Novice to Ninja
The ultimate beginner's guide to Rails!
Designing UX: Forms
Design forms that won't drive users crazy