Open obrown06 opened 7 years ago
One approach is to pattern-match the index
function rather than filter out "", as seen at
https://hackernoon.com/writing-a-blog-engine-in-phoenix-part-2-authorization-814c06fa7c0
Another one, I think, was in the book on the chapter on either Authentication or Ecto relationships on how to screen out "" strings from HTML forms... do you know the part I'm talking about, or do I need to go find it?
Oh, the book talks about a scrub_params
plug that comes with the generator, in the chapter about generators, the section called "Examining the Generated Controller and View"... Is this not working for you?
Checkboxes are screwy