spine v1.0.6 Release Notes

  • Features

    Main two new features are:

    Ajax options on save, for example:

    user.save(success: -> alert('saved!'))
    user.save(ajax: false) # Disable Ajax
    user.save(ajax: ajaxOptions)
    

    And cids:

    project = Project.create()
    @navigate '/projects', project.cid
    
    Project.find(project.cid) #=> Project
    

    Abstract

    • ๐Ÿ›  Fixed double Ajax disabling issue
    • Can now pass request options to Ajax on save
    • url() now takes multiple arguments
    • ๐Ÿ›  Fix association id comparison issue
    • Now have internal CIDs for use in comparison and in URLs
    • โž• Add 'attributes' option to controllers

    And much more...