Ruby on Rails Monday, April 27, 2015

Why not?  Presumably inside processrecovery.

I didn't get you. Do you mean I can use Recovery.create(...) directly inside processrecovery without sending them to controller?

If so how can I use params? Because I suspect Rails 4 won't let me to directly insert data to tables without using strong parameters by permitting them.

Thank you.

--
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+unsubscribe@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/79f30165-dc73-4e64-948e-384d24f14fc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment