Commits on Jan 10, 2012
  1. Fix pluralization in alfred

    airhorns committed Jan 10, 2012
Commits on Jan 9, 2012
  1. keyContext won't be available on nodes with dynamic name attribute bi…

    Kamil Tusznio committed Jan 9, 2012
Commits on Jan 6, 2012
Commits on Jan 5, 2012
  1. Add Enumerable.mapToProperty

    Kamil Tusznio committed Jan 5, 2012
  2. Revert "Add a development warning for data-bind-href so people will u…

    …se data-route."
    This reverts commit 2a4da97. You have
    to use it for things like mailtos or external links which are dynamic
    but don't concern batman. I trust the user. I trust the user. I trust
    the user.
    airhorns committed Jan 5, 2012
Commits on Jan 4, 2012
  1. Make Batman.DOM.RouteBinding into a real binding.

     - <a data-route> now takes a real key path with optional filters
     - This will break a couple of previous syntaxes:
       - data-route="controller#action" no longer works. Use data-route="{'controller': 'products', 'action': 'show'}" instead
       - data-route="some.Model.Instance/action" no longer works. Use data-route="some.Model.Instance | routeToAction 'action'" instead
     - data-route now binds to any key paths so you can change what a route binding routes to by changing the value at the keypath. It didn't do this before.
     - The logic which figured out what to route to when given a Model or a record is now in the dispatcher, so models and records can be passed to $redirect
     - Member or collection route declarations within resource route callbacks now work with $redirects to a model or a record
    Fix #238.
    airhorns committed Jan 4, 2012
Commits on Jan 3, 2012
  1. Fix test to not send requests

    airhorns committed Jan 3, 2012
  2. Make the railsDate encoder able to handle timezones from ISO 8601 for…

    …matted dates.
     - Thanks to @csnover for the algorithm!
    airhorns committed Jan 3, 2012
Commits on Jan 2, 2012
  1. Ensure RailsStorage only eagerly serializes when it is is in POST dat…

    …a mode but using FormData to do a multipart post body.
    airhorns committed Jan 2, 2012
  2. Fix tests; order of operations is hard

    Kamil Tusznio committed Jan 2, 2012
  3. Only choose the first selection when we have an array of length 1. St…

    …rings shouldn't be cut off.
    Kamil Tusznio committed Jan 2, 2012
  4. Don't apply an undefined value during a belongsTo save

    This is a problem when an association proxy doesn't have a defined value for the key. It can cause a property that was set elsewhere to become unset because the proxy doesn't have the property.
    ie. Saving a new article which has gotten a blog_id from some binding in the view, but its blog proxy doesn't yet have an id. That blog_id property shouldn't be set to undefined.
    Kamil Tusznio committed Jan 2, 2012
Commits on Dec 21, 2011
  1. Ensure SetSorts have the same accessors for indexing and sorting that…

    … normal Sets do.
     - This clarifies that someSet.sortedBy('foo').sortedBy('bar') ~= someSet.sortedBy('bar'). Composite set sorts may come in the future, but they should be implemented like sortedBy('foo', 'bar') instead. This clashes with the sort direction argument so it may take some thought.
    airhorns committed Dec 21, 2011
  2. Make SetSort propagate itemsWereAdded and itemsWereRemoved events fro…

    …m the sets they proxy.
    airhorns committed Dec 21, 2011
  3. Build

    nickjs committed Dec 21, 2011
  4. Make RenderContext return the proxied value of a ContextProxy from fi…

    …ndKey, and give it a #get for easy access of the value at a key.
    airhorns committed Dec 21, 2011
Commits on Dec 20, 2011
  1. Revert "Return a Set from Model.load and fire events on those sets wh…

    …en they load."
    Thie reverts commit af7e9c1.
    nickjs committed Dec 20, 2011
  2. Test that multiple belongsTo associations save correctly.

    Kamil Tusznio committed Dec 20, 2011
  3. Make requests run through RailsStorage serialize form data without nu…

    …mbered indices for array values
     - Rails needs collection[rules][][name] instead of collection[rules][0][name], or POST'd JSON.
    airhorns committed Dec 20, 2011
Commits on Dec 19, 2011
  1. Build

    airhorns committed Dec 19, 2011
Commits on Dec 17, 2011
  1. Merge pull request #278 from tdegrunt/custom-headers

    Adding in headers, so that storage adapters can easily set custom headers
    airhorns committed Dec 17, 2011
Commits on Dec 15, 2011
Commits on Dec 14, 2011
  1. Remove some extraneous tests.

    airhorns committed Dec 14, 2011
  2. Make AssociationProxies quack like it instead of testing for instance…

    …of, reorder association code to put superclasses near subclasses.
    airhorns committed Dec 14, 2011