removing strict rails dependency