If they’re columns in a table backed by a model, you would simply validate them on the model layer.
> On Apr 20, 2017, at 9:06 AM, fugee ohu <fugee...@gmail.com> wrote: > > I'm putting some fields in my form that the controllers gonna use but they're > columns in the table so I can't validate at the model level? How can I > validate them? > > -- > 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 > <mailto:rubyonrails-talk+unsubscr...@googlegroups.com>. > To post to this group, send email to rubyonrails-talk@googlegroups.com > <mailto:rubyonrails-talk@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/fc0a1365-571d-4d33-b518-12f40be8e6b9%40googlegroups.com > > <https://groups.google.com/d/msgid/rubyonrails-talk/fc0a1365-571d-4d33-b518-12f40be8e6b9%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/F0A0D811-16FC-4BFC-A6FC-9107A7D8459D%40gmail.com. For more options, visit https://groups.google.com/d/optout.