# Rails Gem

**URL:** <https://forum.mautic.org/t/rails-gem/9959>\
**Category:** General Discussion\
**Created:** [November 22, 2017, 7:39pm UTC](https://forum.mautic.org/t/rails-gem/9959 "2017-11-22T19:39:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gustavocosta](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@gustavocosta](https://forum.mautic.org/u/gustavocosta)\
**Post date:** [November 22, 2017, 7:39pm UTC](https://forum.mautic.org/t/rails-gem/9959/1 "2017-11-22T19:39:25Z")

</div>

Hello Lukas, how are you?  
  
  
  
My name is Gustavo and I got the same error that you got here: [https://www.mautic.org/community/index.php/6874-submit-form-return-302-always](https://www.mautic.org/community/index.php/6874-submit-form-return-302-always)  
  
  
  
I found the gem that you’ve built for Rails, but I am facing the same error: always a 302 as a response for a post request.  
  
  
  
Can you help me?

---

<div class="post-metadata">

**Author:** ![gustavocosta](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@gustavocosta](https://forum.mautic.org/u/gustavocosta)\
**Post date:** [November 22, 2017, 7:39pm UTC](https://forum.mautic.org/t/rails-gem/9959/2 "2017-11-22T19:39:25Z")

</div>

Hello Lukas, how are you?

My name is Gustavo and I got the same error that you got here: [https://www.mautic.org/community/index.php/6874-submit-form-return-302-always](https://www.mautic.org/community/index.php/6874-submit-form-return-302-always)

I found the gem that you’ve built for Rails, but I am facing the same error: always a 302 as a response for a post request.

Can you help me?

---

<div class="post-metadata">

**Author:** ![Lord\_Lukas](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@Lord\_Lukas](https://forum.mautic.org/u/Lord_Lukas)\
**Post date:** [November 22, 2017, 9:28pm UTC](https://forum.mautic.org/t/rails-gem/9959/3 "2017-11-22T21:28:57Z")

</div>

Hello,  
Its feature of mautic, that always return 302. I fix it in gem =\> [https://github.com/luk4s/mautic-rails/commit/4ff97318d434a27e9781da96dfbef9b3e9894f82](https://github.com/luk4s/mautic-rails/commit/4ff97318d434a27e9781da96dfbef9b3e9894f82).
