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

**URL:** <https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795>\
**Category:** Development\
**Created:** [19 במאי,‏ 2023,‏ 3:03pm UTC](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795 "2023-05-19T15:03:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [20 במאי,‏ 2023,‏ 1:42pm UTC](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795/6 "2023-05-20T13:42:47Z")

</div>

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

---

_[View the full topic](https://meta.discourse.org/t/how-to-execute-server-side-code-when-clicking-a-button/265795)._
