Myrosia

Hi, guys :)
please, review my pull request to backend @kuzbida @anato-lee @mariyamoroz @vdanyliv @doljura @xcomanche 
rewrite sql to activerecord