A megal plugin rails