Here is my small cheatsheet which will help you to extend any Ruby class.
I found out it very helpful and i hope, it will also be a nice help for you.
Read moreRuby on Rails is very smart framework and it let us to handle with many things in very easy way.
There is no exception when we think about optimistic and pessimistic locking. I will show you how to handle it very fast.
Read more