Skip to content
  • Petrik's avatar
    76f9b753
    Generators should raise an error if an attribute has an invalid index type · 76f9b753
    Petrik authored
    When passing an invalid index type to a generator, the index is silently
    ignored. For example when misspelling the index:
    
        bin/rails g model post title:string:indxe
    
    Instead of silently ignoring the invalid index, the generator should
    raise an error.
    
    This continues the work in d163fcd6
    where we started raising errors if the attribute types are invalid.
    76f9b753
    Generators should raise an error if an attribute has an invalid index type
    Petrik authored
    When passing an invalid index type to a generator, the index is silently
    ignored. For example when misspelling the index:
    
        bin/rails g model post title:string:indxe
    
    Instead of silently ignoring the invalid index, the generator should
    raise an error.
    
    This continues the work in d163fcd6
    where we started raising errors if the attribute types are invalid.
Loading