Make a rails plugin