first atempt to run in rails 4