• S
    Allow a symbol to be passed to `attribute`, in place of a type object · 101c19f5
    Sean Griffin 提交于
    The same is not true of `define_attribute`, which is meant to be the low
    level no-magic API that sits underneath. The differences between the two
    APIs are:
    
    - `attribute`
      - Lazy (the attribute will be defined after the schema has loaded)
      - Allows either a type object or a symbol
    - `define_attribute`
      - Runs immediately (might get trampled by schema loading)
      - Requires a type object
    
    This was the last blocker in terms of public interface requirements
    originally discussed for this feature back in May. All the
    implementation blockers have been cleared, so this feature is probably
    ready for release (pending one more look-over by me).
    101c19f5
sqlite3_adapter.rb 18.6 KB