Walter Davis wrote in post #1132809:

> On Jan 10, 2014, at 6:13 PM, Robert Jewell wrote:

>
> It might be instructional for you to post the controller that handles
> this form, I don't see anything wrong here, except unless you are adding
> the sender_uid in that controller, I don't see it being added to the
> params in the form anywhere.
>
> ...
>
> I think you may be missing something in the controller then, that's the
> only thing I haven't seen yet, and everything so far has seemed
> reasonable.
>
> Walter

Hi Walter, per your request, here's a gist of my users_controller, which 
corresponds with the form's view: 
https://gist.github.com/rjewell2200/8364397

I'll read the literature that you suggest for the associations. I do not 
know why the form is not hitting the database correctly for the 
private_messages and notifications tables.

I've also made the repo public if you wanted to have a deeper look: 
https://github.com/rjewell2200/gr-comm

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/0dc94a12b637bdbc15aa778873a16399%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to