<?xml version="1.0" encoding="UTF-8"?>
<commits type="array">
  <commit>
    <parents type="array">
      <parent>
        <id>8457e5703f7c147a2444da62931841a28e456b31</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/3b8ea1c2027a7601bd4c9a9950dc63ea7983a76d</url>
    <id>3b8ea1c2027a7601bd4c9a9950dc63ea7983a76d</id>
    <committed-date>2008-11-20T01:56:06-08:00</committed-date>
    <authored-date>2008-11-20T01:56:06-08:00</authored-date>
    <message>updating to use new garlic gem style</message>
    <tree>ac803eff7c4e0ace9ecd3f43498c976382d4e46f</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>c21f35c35ef71576c99d412bc562ab10278c652b</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/ceaf1b96a2ac9eb82250307029f36aed063326e0</url>
    <id>ceaf1b96a2ac9eb82250307029f36aed063326e0</id>
    <committed-date>2008-09-13T12:35:48-07:00</committed-date>
    <authored-date>2008-09-13T12:31:16-07:00</authored-date>
    <message>The reason for the reversion in c21f35c has been fixed.  Thanks Jason Lee for the bug report.

The problem was that I had changed resource_saved?'s behaviour to *not* saving the model if it had
already been saved.  In the future resource_saved? will be deprecated, but not yet.

BTW.  All of these changes to resource_saved? behaviour is aimed at making RC drop in compatible with
rspec's generated controller specs (try rake spec:generate).

To do that I need the default update action to use :update_attributes. This meant that the old strategy
of keeping track of saves by using save_resource wont work.  Instead, we keep track by looking at the
AR's state (see lib/ardes/active_record/saved.rb) which is a far better solution anyway.

Squashed commit of the following:

commit f8a589f9b3711140fa7e125a42681acc1ad97e10
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 05:21:23 2008 +1000

    Docfixes, CHANGELOG, SPECDOC

commit e670fd2e18678d94292bc684e57f8bf64a2e2dc9
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 05:09:24 2008 +1000

    Fixed logic error in AR.saved?

commit b3e2838e1515503820e49eaf7853099df33a0d8e
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 05:05:29 2008 +1000

    Adding specs for AR.saved? and AR.validation_attempted?

commit 3e649c53d06a788b5e70878b2cb7e386571fce31
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 04:56:56 2008 +1000

    Fixed bug in init.rb

commit c72b1a917339b7ee94700d8eb6b6bd939ad7e4b2
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 04:56:28 2008 +1000

    Fixed bug in init.rb

commit d5702c06d8d54b80dd011f79ff3d2ac782ce902e
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sun Sep 14 04:55:18 2008 +1000

    Added AR.saved? &amp; AR.validation_atempted? convenience methods.  Returned save_resource?'s behaviour to that of saving the record if it has not had save attempted

commit af11af7848811da5ca87efdd8eb678251c5bd6d5
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 09:58:15 2008 +1000

    Added resource_saved? specs, and removed .first and .last for BC in specs to 2.0.x

commit 5efb59f7c0fb8be72b12b5476291e59e6af658c0
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 09:57:30 2008 +1000

    Added resource_saved? specs, and removed .first and .last for BC in specs to 2.0.x

commit 8b73130de97ab87369ec395be4ee696de76e773a
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 09:46:52 2008 +1000

    Small fix for comments_with_models spec

commit 3a2426cd00fa945d155d4f3ebff6ccc48a7b0cf2
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 09:29:26 2008 +1000

    Added specs for comments_controller which use real DB objects

commit 79a93132f6e49a556775e6508a5773686ccd6332
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 06:27:51 2008 +1000

    Fixing comments with models spec

commit 05f551f5755e6db41a83dde0c9b0db99a4e168d8
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 06:24:19 2008 +1000

    Added some controller specs with real models

commit 6163aba8c5315598d173cd205bc2d69286ae4271
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 06:02:36 2008 +1000

    Updated 2.1.x target

commit b3c6d13a77aff7d831e136221ead8b7fa7bed4e1
Author: Ian White &lt;ian.w.white@gmail.com&gt;
Date:   Sat Sep 13 04:54:40 2008 +1000

    Add resource_saved stuff back in (2f49687, 7423cf1)

    This reverts commit c21f35c35ef71576c99d412bc562ab10278c652b.</message>
    <tree>cb74ae8c084cf0158d83259b50e76c32ae45ecfa</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>2a6493b1f7b812aa4da7c1c8d6a97a9667296ba5</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/c21f35c35ef71576c99d412bc562ab10278c652b</url>
    <id>c21f35c35ef71576c99d412bc562ab10278c652b</id>
    <committed-date>2008-09-12T03:27:32-07:00</committed-date>
    <authored-date>2008-09-12T03:27:32-07:00</authored-date>
    <message>Reverted 2f49687, 7423cf1 (save_resource and resource_saved? stuff) because of aberrant behaviour.
Will add them back in with some extra specs.  [Jason Lee]</message>
    <tree>aa15e604404d44822bb39593e15322e530e62582</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>633fe459e681a3dd3c24434d431ef4f0600b45eb</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/2f496874436e334346d4b0d8029a055c6821c93b</url>
    <id>2f496874436e334346d4b0d8029a055c6821c93b</id>
    <committed-date>2008-09-08T03:46:15-07:00</committed-date>
    <authored-date>2008-09-08T03:46:15-07:00</authored-date>
    <message>API change: save_resource and resource_saved? deprecated

  ActiveRecord::Base now has a saved? and attempted_save? method, which makes response_for much easier
  to write, and leaves less artefacts in the controller instance.

  So save_resource, and resource_saved? are now deprecated, just use resource.save, and resource.saved?
  instead.  See response_for_resources_controller if you're into response_for.</message>
    <tree>502fe0e15d5956c4aa2ff9f2bb869d86e7116540</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>c7816162701d0ff5f6f2c431dfab56fea08a83b5</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/1b4ba5726c552da695fb36c260305f4799fd6925</url>
    <id>1b4ba5726c552da695fb36c260305f4799fd6925</id>
    <committed-date>2008-09-07T04:39:23-07:00</committed-date>
    <authored-date>2008-09-07T04:39:23-07:00</authored-date>
    <message>Updated garlic_example to run the spec generator specs</message>
    <tree>692d7bbf7860a4b1bba5396529d1d732f211dd49</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>c6f6426da4e721e5b56803d834b8ff55199e93f5</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/f20fa7e2b31be4c0668a0439a78f386392872262</url>
    <id>f20fa7e2b31be4c0668a0439a78f386392872262</id>
    <committed-date>2008-09-03T06:20:56-07:00</committed-date>
    <authored-date>2008-09-03T06:20:56-07:00</authored-date>
    <message>Fixing typo in garlic_example.rb</message>
    <tree>63c0f0985d96150172ef97b2c1ebd2514c8ebee2</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>e8deb367abe1ce4a00732c49af8d8becf60fbc40</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/f69379470e88cf9dcd8b3b457e765f30687b064a</url>
    <id>f69379470e88cf9dcd8b3b457e765f30687b064a</id>
    <committed-date>2008-09-03T04:38:34-07:00</committed-date>
    <authored-date>2008-09-03T04:38:34-07:00</authored-date>
    <message>Removing pending specs, as I'm targeting ianwhite/rspec for now (until various patches applied)</message>
    <tree>c595ddc1c9290eccafda6e2e2c84f16874a0ee8d</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>d60cdbc0a75ba9a1ea90f305b49f9253d11784b2</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/6ebe774532b0ca10f0cc0cde80b3253ea7517952</url>
    <id>6ebe774532b0ca10f0cc0cde80b3253ea7517952</id>
    <committed-date>2008-09-01T01:51:04-07:00</committed-date>
    <authored-date>2008-09-01T01:51:04-07:00</authored-date>
    <message>Updating garlic targets</message>
    <tree>20653add9d470343f04b5fe0266d236c04923511</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>cac370257ee2c8348f61a17ccd498500323b36d3</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/4e5acfd6ff7bb8734bcfc5b7cba9fdddef1f44a0</url>
    <id>4e5acfd6ff7bb8734bcfc5b7cba9fdddef1f44a0</id>
    <committed-date>2008-05-22T05:06:11-07:00</committed-date>
    <authored-date>2008-05-22T05:06:11-07:00</authored-date>
    <message>Updated garlic targets, no tested against: edge, 2.0-stable, 2.0.2, 2.0.3, 2.1-RC1</message>
    <tree>7e8e981d78461ed0653486eaf7bc37233841982c</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>51276f8edee2243f360598fb3e26c24407564684</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/60688dd738692313cce040b4acf4eacd5c1e256e</url>
    <id>60688dd738692313cce040b4acf4eacd5c1e256e</id>
    <committed-date>2008-04-28T06:16:23-07:00</committed-date>
    <authored-date>2008-04-28T06:16:23-07:00</authored-date>
    <message>garlic.rb now ignored, so local config is easier
garlic_example.rb introduced
MIT_LICENSE updated</message>
    <tree>3987b8c2c991552d3bd280d81f30cf38e55650e6</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
</commits>
