כיצד להריץ קוד בצד השרת בלחיצה על כפתור?

Just run it at the rails console and don’t write a plugin.