Complete rails Lite basic functions;