Some functionality for mini framework based in Rails