Myrosia

Hi, guys :)
please, review my pull request to backend @kuzbida @anato-lee @mariyamoroz @vdanyliv @doljura @xcomanche 
replace the sql query with a native ActiveRecord command