<?xml version="1.0" encoding="UTF-8"?>
<commits type="array">
  <commit>
    <parents type="array">
      <parent>
        <id>6c080a74a1e05b4298894eb662a2b7ace8c6320b</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/472440a1f6bb853d0f6b92120801a79049161a59</url>
    <id>472440a1f6bb853d0f6b92120801a79049161a59</id>
    <committed-date>2009-12-20T01:56:57-08:00</committed-date>
    <authored-date>2009-12-20T01:56:57-08:00</authored-date>
    <message>resource methods now in mixin to make overriding them easier</message>
    <tree>f1beac490a67af69fd7a870c60cc1727c963f823</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>866d162617a74acc8d22ac013758676e815d4844</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/215f18b70fa54a3dd6b0077fa4d13ce388e5209a</url>
    <id>215f18b70fa54a3dd6b0077fa4d13ce388e5209a</id>
    <committed-date>2009-12-20T01:23:56-08:00</committed-date>
    <authored-date>2009-12-20T01:23:56-08:00</authored-date>
    <message>Allow block syntax on new_resource</message>
    <tree>33ebdd5ef6d92e4c29cb23263bfdab14f705ce61</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>9c1c23791fc57c005117ff039696117711eb99cb</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/3008e7fd9a5e7311adec82992c0c5c1905d21f3f</url>
    <id>3008e7fd9a5e7311adec82992c0c5c1905d21f3f</id>
    <committed-date>2009-09-19T12:39:01-07:00</committed-date>
    <authored-date>2009-09-19T12:39:01-07:00</authored-date>
    <message>Words</message>
    <tree>c178e15def49ab85be1b3a061788043ab6885859</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>0dccc2d545b4b5291176455834f9ecbc1fc1d681</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/15beea6b932c5c780a87cca64134852ed1f32bdd</url>
    <id>15beea6b932c5c780a87cca64134852ed1f32bdd</id>
    <committed-date>2009-09-19T11:50:22-07:00</committed-date>
    <authored-date>2009-09-19T11:50:22-07:00</authored-date>
    <message>Removed all vestiges of loading enclosing resources via recognised route, updated specs accordingly</message>
    <tree>af1cbb1c676a514c80a45630d6af28f22916e855</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b655ebefb729031d77fa3849b8c03221e8963dc3</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/e55f0c3a1b88a01b41b6f369263a6551216ef131</url>
    <id>e55f0c3a1b88a01b41b6f369263a6551216ef131</id>
    <committed-date>2009-09-18T10:19:13-07:00</committed-date>
    <authored-date>2009-09-18T10:19:13-07:00</authored-date>
    <message>RC is now more relaxed regarding 'NoRecognisedRoute', if the route can't be found, or the controller was invoked by the defautl route, the enclosing resources are constructed form '_id' params.</message>
    <tree>847f8cd32def97609db7b7dd388d81fde37e41f4</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b22c11347700630914dbcd8755202e4081f9ac88</id>
      </parent>
    </parents>
    <author>
      <name>Tom ten Thij</name>
      <email>git@tomtenthij.nl</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/54cea4aa6f642db33be17d49bebb5c2ebf94198c</url>
    <id>54cea4aa6f642db33be17d49bebb5c2ebf94198c</id>
    <committed-date>2009-06-27T10:03:56-07:00</committed-date>
    <authored-date>2009-05-05T12:17:03-07:00</authored-date>
    <message>Enable resources_controller to handle dynamic segments that do not have a corresponding static segment</message>
    <tree>753efa13c930d5984f120adaba580dea0447bdc4</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>ee4463f46798a65d519c785fe2ed4304ff2a1f77</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/bb82232839081d1453b382c2446397d8b1fa177a</url>
    <id>bb82232839081d1453b382c2446397d8b1fa177a</id>
    <committed-date>2009-02-13T05:56:55-08:00</committed-date>
    <authored-date>2009-02-13T05:56:55-08:00</authored-date>
    <message>RC is now less picjky about what route the controller is invoked with, and will construct a set of enclosing reosurces using params keys matching _id.  This should enable getting rid of :resource_path from the route specification for most simple cases</message>
    <tree>cd73ac4a27898108e228c8de306b3bc125480b0f</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>3b8ea1c2027a7601bd4c9a9950dc63ea7983a76d</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/74345d6985aa07358652fbad990bdb52f01e3e24</url>
    <id>74345d6985aa07358652fbad990bdb52f01e3e24</id>
    <committed-date>2008-11-20T01:56:43-08:00</committed-date>
    <authored-date>2008-11-20T01:56:43-08:00</authored-date>
    <message>updating respond_to API</message>
    <tree>3c63bb5769fc78cb1c2f2e19b8d599d7de59a35a</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f4e178155daa57482c653c62daba1f630d70eba5</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/9e0340e700d6b81eea6850b77c62e40a71da331e</url>
    <id>9e0340e700d6b81eea6850b77c62e40a71da331e</id>
    <committed-date>2008-10-16T02:43:51-07:00</committed-date>
    <authored-date>2008-10-16T02:43:51-07:00</authored-date>
    <message>Revert f4e1781, because the bug in rails which required it has now been fixed (see http://rails.lighthouseapp.com/projects/8994/tickets/1083)

This reverts commit f4e178155daa57482c653c62daba1f630d70eba5.</message>
    <tree>2bb2742471614da87c90b1a148aacf1ba2ad8513</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>1cf438fcf18dff7036186497bb7d1e47ec573e73</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/f4e178155daa57482c653c62daba1f630d70eba5</url>
    <id>f4e178155daa57482c653c62daba1f630d70eba5</id>
    <committed-date>2008-10-13T16:08:37-07:00</committed-date>
    <authored-date>2008-10-13T16:08:37-07:00</authored-date>
    <message>Adding explicit call to service.new, because of recent change in rails (see http://rails.lighthouseapp.com/projects/8994/tickets/1083)</message>
    <tree>119b50a1caa7533565e54f06456d914decb312d2</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>40174b572fa933173d5d3c1983eaad7da015b13f</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/454b4dc8c69bf417edb4a6d2f9ef8847b94ee42c</url>
    <id>454b4dc8c69bf417edb4a6d2f9ef8847b94ee42c</id>
    <committed-date>2008-10-10T17:59:26-07:00</committed-date>
    <authored-date>2008-10-10T17:59:26-07:00</authored-date>
    <message>Removed deprecation warnings from save_resource, and added warnings in the
comments.</message>
    <tree>f76625cf530bfea51fa9b67731351715ef678e40</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>264608d09733b602cb3a4e97db7c0a9cc10c56a6</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/40174b572fa933173d5d3c1983eaad7da015b13f</url>
    <id>40174b572fa933173d5d3c1983eaad7da015b13f</id>
    <committed-date>2008-10-10T16:35:22-07:00</committed-date>
    <authored-date>2008-10-10T16:35:22-07:00</authored-date>
    <message>enclosing_resource_name is the name of the mapped enclosing resource (which may not be the class name underscored).
This keeps parity with resource_name, and allows sending params to the enclosing_resource_path like enclosing_resource_path(enclosing_resource_name =&gt; {:enabled =&gt; true})</message>
    <tree>ff4b9869683f22e3112882198948c255f3746e50</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>23f8b9e4d72e9e0b0837a972be596c36fbb65cca</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/8a3691dce98e953bcf5186b024707f7f73f6c896</url>
    <id>8a3691dce98e953bcf5186b024707f7f73f6c896</id>
    <committed-date>2008-10-09T17:48:55-07:00</committed-date>
    <authored-date>2008-10-09T17:48:55-07:00</authored-date>
    <message>Added include_actions extension for including actions/customising including actions. If you use your own Action modules, you can now define a module method #include_actions to do the :only / :except
  handling yourself.  See Ardes::ResourcesController::IncludeActions.  This change is completely BC, you don't need
  to do anything to any of your existing action modules.</message>
    <tree>7c525fec836605b06dffbef51837226cb30b83c7</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>93b29a469bf994434f3e661f29fefc5f51bd4109</id>
      </parent>
    </parents>
    <author>
      <name>Tom Stuart</name>
      <email>tom@e-consultancy.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/2f95de2f45f9093108150df702a7e7dbe569ab18</url>
    <id>2f95de2f45f9093108150df702a7e7dbe569ab18</id>
    <committed-date>2008-10-09T08:53:03-07:00</committed-date>
    <authored-date>2008-10-09T08:42:59-07:00</authored-date>
    <message>Changed add_enclosing_resource arguments to allow implicit resource name (inferred from its class)</message>
    <tree>df84cc775e82eaf8be2167318d6f1ff39fb32f1e</tree>
    <committer>
      <name>Tom Stuart</name>
      <email>tom@e-consultancy.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>d82eedac75ba1eb821c50fe542df956b89be73db</id>
      </parent>
    </parents>
    <author>
      <name>Joel Chippindale</name>
      <email>joel.chippindale@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/93b29a469bf994434f3e661f29fefc5f51bd4109</url>
    <id>93b29a469bf994434f3e661f29fefc5f51bd4109</id>
    <committed-date>2008-10-09T06:56:04-07:00</committed-date>
    <authored-date>2008-10-09T06:56:04-07:00</authored-date>
    <message>Extracted #add_enclosing_resource from #load_enclosing_resource_from_specification

This makes it much easier to override #load_enclosing_resources in your controller if
you have a route (or set of routes) which cannot easily be mapped onto a specification.</message>
    <tree>e69ab26c055e7c34ec1775097d4c45cb9e88d2c7</tree>
    <committer>
      <name>Joel Chippindale</name>
      <email>joel.chippindale@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>405ff953e98aef0b92e8c25bbf07d8dcf4cd3fc5</id>
      </parent>
      <parent>
        <id>f3b70b193f669a2e93fae9b8f3a4ac9170427624</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/e922c07753cd5da689093969c336343ba204cda1</url>
    <id>e922c07753cd5da689093969c336343ba204cda1</id>
    <committed-date>2008-09-08T15:02:46-07:00</committed-date>
    <authored-date>2008-09-08T15:02:46-07:00</authored-date>
    <message>Merge branch 'master' of git://github.com/ReinH/resources_controller into rein</message>
    <tree>aa436e13c3431415b6ab9dc7a1cc685f303909ad</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b91c26f0d45781e2462bcdf3b04a2c4161e0ee73</id>
      </parent>
    </parents>
    <author>
      <name>ReinH</name>
      <email>reinh@reinh.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/f3b70b193f669a2e93fae9b8f3a4ac9170427624</url>
    <id>f3b70b193f669a2e93fae9b8f3a4ac9170427624</id>
    <committed-date>2008-09-08T14:17:54-07:00</committed-date>
    <authored-date>2008-09-08T14:17:54-07:00</authored-date>
    <message>Finishing documentation update</message>
    <tree>c07f2b3d0544fef6adc72054c40c876dd600ed62</tree>
    <committer>
      <name>ReinH</name>
      <email>reinh@reinh.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>f2492ec4b12b61f0fac67a5ab4a64219de18d18b</id>
      </parent>
    </parents>
    <author>
      <name>ReinH</name>
      <email>reinh@reinh.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/b91c26f0d45781e2462bcdf3b04a2c4161e0ee73</url>
    <id>b91c26f0d45781e2462bcdf3b04a2c4161e0ee73</id>
    <committed-date>2008-09-08T14:16:17-07:00</committed-date>
    <authored-date>2008-09-08T14:16:17-07:00</authored-date>
    <message>Documentation update replacing :erp with :resource_path</message>
    <tree>b8695a10c60e845d78c932e735782825b397d0da</tree>
    <committer>
      <name>ReinH</name>
      <email>reinh@reinh.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>2f496874436e334346d4b0d8029a055c6821c93b</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/9418e02f40a40faa1da70235e3a2143a0560f5f6</url>
    <id>9418e02f40a40faa1da70235e3a2143a0560f5f6</id>
    <committed-date>2008-09-08T07:19:21-07:00</committed-date>
    <authored-date>2008-09-08T07:19:21-07:00</authored-date>
    <message>resource_saved? has different semantics
Removed the Saved AR mixin</message>
    <tree>71812e0414acd49c4009a966c3f2cfd4b90a6fb6</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>7ad4db4ca61a31d6d26a73500cd5dda7e5ba028f</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/a7bf8217b550a3a1751dcb915fab35807969ce71</url>
    <id>a7bf8217b550a3a1751dcb915fab35807969ce71</id>
    <committed-date>2008-04-27T04:28:07-07:00</committed-date>
    <authored-date>2008-04-27T04:28:07-07:00</authored-date>
    <message>Added branching code to support 2-0-stable re: find_filter, and added regression spec</message>
    <tree>4fe20b61383e5253f2e3eac46841f50c501610c7</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>b972d1566783fd2bf6c3dd1cea551b9971312b33</id>
      </parent>
    </parents>
    <author>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/7ad4db4ca61a31d6d26a73500cd5dda7e5ba028f</url>
    <id>7ad4db4ca61a31d6d26a73500cd5dda7e5ba028f</id>
    <committed-date>2008-04-27T03:50:35-07:00</committed-date>
    <authored-date>2008-04-27T03:50:35-07:00</authored-date>
    <message>Fixed that rc was using find_filter in edge</message>
    <tree>4dd0c14a52d5f56a30aed1f295ce360be1b49894</tree>
    <committer>
      <name>Ian White</name>
      <email>ian.w.white@gmail.com</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>a4c29ffc621937f5f187e7919bf4604500e51812</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/3136a09d6987ca2650665515259bd56d6690c245</url>
    <id>3136a09d6987ca2650665515259bd56d6690c245</id>
    <committed-date>2007-12-19T01:05:34-08:00</committed-date>
    <authored-date>2007-12-19T01:05:34-08:00</authored-date>
    <message>resources_controller: using some rails 2 idioms

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@542 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>3bd53c6656e48b20537663db79c07710455d15e9</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>6a18139544d5a24778f5cb42abd991f090451557</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/292121e6e05f44366424c17614a96655161117a7</url>
    <id>292121e6e05f44366424c17614a96655161117a7</id>
    <committed-date>2007-11-27T10:14:48-08:00</committed-date>
    <authored-date>2007-11-27T10:14:48-08:00</authored-date>
    <message>resources_controller: map_resource =&gt; map_enclosing_resource (former retained for BC)

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@520 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>c796568ae0150dceb18494632128edd349531278</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>1dca7585030cf9b4fb962b8bc2a3ca70d5995f09</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/6a18139544d5a24778f5cb42abd991f090451557</url>
    <id>6a18139544d5a24778f5cb42abd991f090451557</id>
    <committed-date>2007-11-20T04:42:09-08:00</committed-date>
    <authored-date>2007-11-20T04:42:09-08:00</authored-date>
    <message>resources_controller: make sure we send {} instead of nil when calling resource_service.new


git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@517 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>735394ac6cefe0d24edef29423af2f1760776a1b</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>cb161b4c1d3e1973bff368c4d3cc9f9c5635a934</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/1dca7585030cf9b4fb962b8bc2a3ca70d5995f09</url>
    <id>1dca7585030cf9b4fb962b8bc2a3ca70d5995f09</id>
    <committed-date>2007-11-19T04:33:13-08:00</committed-date>
    <authored-date>2007-11-19T04:33:13-08:00</authored-date>
    <message>resources_controller: * changed :erp to :resource_path, and added :resource_method.

  This means you can connect a named route up with a REST action and also change the method

  map.activate_account '/activate/:code', :controller =&gt; 'activations', :action =&gt; 'create', :resource_path =&gt; '/activations', :resource_method =&gt; :post

  :erp retained for BC

* save_resource and resource_saved? added.  These simply save the resource and cache
  the result of that save.  This means you can use the result of the resource save in your
  response_for blocks (if you're using response_for)

  response_for :create do |format|
    if resource_saved?
      format.html {}
    else
      format.html {}
    end
  end

  def create
    self.resource = new_resource
    save_resource
  end

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@514 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>69b86c84c64c2834f0c6fc15b45529e84529395f</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>fe52bd530400041dd48a71c0edaa752d71d04674</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/cb161b4c1d3e1973bff368c4d3cc9f9c5635a934</url>
    <id>cb161b4c1d3e1973bff368c4d3cc9f9c5635a934</id>
    <committed-date>2007-11-19T04:10:42-08:00</committed-date>
    <authored-date>2007-11-19T04:10:42-08:00</authored-date>
    <message>resources_controller: added save_resource, which caches the result of the save for use in response_fors

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@512 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>249ed4a78d599518a272bc588d61ab92b9ea1570</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>dd20dcd5d8fd1344f2a2f9db935138ce736c4fd8</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/cfa3d5e9541c5b45f4a8cfe6bc57b9f586e2d5d5</url>
    <id>cfa3d5e9541c5b45f4a8cfe6bc57b9f586e2d5d5</id>
    <committed-date>2007-11-18T04:56:04-08:00</committed-date>
    <authored-date>2007-11-18T04:56:04-08:00</authored-date>
    <message>resources_controller: added Ardes::ResourcesController.actions and
  Ardes::ResourcesController.singleton_actions accessors so you can set the
  default actions module across your app

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@505 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>8845f92f5979a086a9d0cf032625c8ab572c4d78</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>80ddcd0bb13a43ba8fb28e0c58b60341b13438c9</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/dd20dcd5d8fd1344f2a2f9db935138ce736c4fd8</url>
    <id>dd20dcd5d8fd1344f2a2f9db935138ce736c4fd8</id>
    <committed-date>2007-11-18T04:13:23-08:00</committed-date>
    <authored-date>2007-11-18T04:13:23-08:00</authored-date>
    <message>resources_controller: Added resource_saved? method to controller.  This is useful for sharing the
  result of a save outside action methods (for example in response_for blocks)

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@504 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>78f9bd6f9bf4b8481d9678d682a49ce6384906fb</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>c3af167922860aef9752bcf9e5013d54c7c300bf</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/6f90688ef8444dbb8e34a2ac1e5028065b123ab3</url>
    <id>6f90688ef8444dbb8e34a2ac1e5028065b123ab3</id>
    <committed-date>2007-11-14T08:05:28-08:00</committed-date>
    <authored-date>2007-11-14T08:05:28-08:00</authored-date>
    <message>resources_controller: added :erp patch, doc and specs [thanks Chris Hapgood for the initial patch]

  Use the :erp param when you are routing a non RESTful route to your rc controller
  This allows rc to load the resources using the route.

  e.g. map.home '', :controller =&gt; 'forums', :action =&gt; 'index', :erp =&gt; '/forums'



git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@499 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>a39049a7693a07edd0ac1ff3c523ab2d70119c77</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>1b8be92d2221624a7e529c69af9a2a3a9fa8be70</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/fc138623d8367f77bfcbd8a8d5a86557cde27408</url>
    <id>fc138623d8367f77bfcbd8a8d5a86557cde27408</id>
    <committed-date>2007-11-06T05:02:06-08:00</committed-date>
    <authored-date>2007-11-06T05:02:06-08:00</authored-date>
    <message>resources_controller: coverage back to 100%


git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@492 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>5602c0082a1e8f718336e51eab9f52af1d0f044c</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>983e0df4fb1c3248ac93c3bbbf280fe57a29930e</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/1b8be92d2221624a7e529c69af9a2a3a9fa8be70</url>
    <id>1b8be92d2221624a7e529c69af9a2a3a9fa8be70</id>
    <committed-date>2007-11-06T03:53:42-08:00</committed-date>
    <authored-date>2007-11-06T03:53:42-08:00</authored-date>
    <message>resources_controller: you can alias an enclosing resource with :as

  This can be useful when you have a tree like domain:

    map.resources :categories do |category|
      category.resources :categories
    end

    class CategoriesController &lt; ApplicationController
      resources_controller_for :categories
      map_resource :category, :as =&gt; :parent
    end


git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@491 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>f1ac45803b5217c0ac3294b6bedf3eb373d8931f</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
  <commit>
    <parents type="array">
      <parent>
        <id>da4772613de4fd4f8cc32c1bedf6dd194f08cb63</id>
      </parent>
    </parents>
    <author>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </author>
    <url>http://github.com/ianwhite/resources_controller/commit/983e0df4fb1c3248ac93c3bbbf280fe57a29930e</url>
    <id>983e0df4fb1c3248ac93c3bbbf280fe57a29930e</id>
    <committed-date>2007-11-06T03:01:42-08:00</committed-date>
    <authored-date>2007-11-06T03:01:42-08:00</authored-date>
    <message>resources_controller: you can now specify which actions are loaded from the actions module

    resources_controller_for :forums, :only =&gt; [:index, :show]
    resources_controller_for :forums, :actions =&gt; MyActions, :except =&gt; :destroy

  The method used to achieve this is Ardes::ResourcesController::include_actions
  which can be used in any ActionController when resources_controller is in your
  plugins directory

git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@490 845bbffb-5c18-0410-91b3-f25c072b94c1</message>
    <tree>462eeb12dfb6f455a46a72a6f8ed792175b28c09</tree>
    <committer>
      <name>ian</name>
      <email>ian@845bbffb-5c18-0410-91b3-f25c072b94c1</email>
    </committer>
  </commit>
</commits>
