Changing attributes in action
I am trying to simplify the commented out code by using
Also I am not sure if to put it in
expr() , but i get an InvalidAttributeError with the hint string_downcase(nil) Also I am not sure if to put it in
before_action or not since from what I saw the change does not appear in the Phoenix form. So in both cases it should only appear in the database ?