• Rémy Coutable's avatar
    Merge branch 'remove-callback' into 'master' · 5bd4bee0
    Rémy Coutable authored
    This MR removes AR before_validation callback in favor setter.
    
    ## Why was this MR needed?
    
    Because setters is good practice to normalize model attributes instead AR callbacks. Because new object should be valid right after initialization. 
    If it MR interested I can try to find other places where we can use setters.
    
    See merge request !6763
    5bd4bee0
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG.md 138 KB