Ruby on Rails: custom instance creation failing at redirect
- by Jack
I am at an absolute loss as to what I am doing wrong with the following code. I am trying to implement a messaging system within my application, but want it to be handle different types of messages. In this case, I want to create a "request" message of ':message_type = 1'.
Instead of using forms as I usually have, I want to make this instance…