A few quick questions done in rails