[caae0d45230bdca6c1902d186795ba5fa945ee4b] Changeset [caae0d45230bdca6c1902d186795ba5fa945ee4b] by Ian White
updated contributors in README http://github.com/ianwhite/resou...
Committed by Ian White
[9d8e9c119186ea811b606d85b12625d252b5043c] Changeset [9d8e9c119186ea811b606d85b12625d252b5043c] by Ian White
Merge branch 'master' of git://github.com/tpope/resources_controller into tpope http://github.com/ianwhite/resou...
Committed by Ian White
[74345d6985aa07358652fbad990bdb52f01e3e24] Changeset [74345d6985aa07358652fbad990bdb52f01e3e24] by Ian White
updating respond_to API http://github.com/ianwhite/resou...
Committed by Ian White
[3b8ea1c2027a7601bd4c9a9950dc63ea7983a76d] Changeset [3b8ea1c2027a7601bd4c9a9950dc63ea7983a76d] by Ian White
updating to use new garlic gem style http://github.com/ianwhite/resou...
Committed by Ian White
[60b5f270ba2c22fd24e2a93c8f4468416da75374] Changeset [60b5f270ba2c22fd24e2a93c8f4468416da75374] by Tim Pope
Use clone to copy class methods in 1.8.7
In Ruby 1.8.7 (but not 1.8.6 or 1.9), Object#dup does not copy an object's singleton methods. CUrrently, resources_controller exposes this difference with a duped module that lacks the included callback of its original. This can be worked around by simply invoking #clone instead, which does not suffer from this problem. http://github.com/ianwhite/resou...
Committed by Tim Pope
[8457e5703f7c147a2444da62931841a28e456b31] Changeset [8457e5703f7c147a2444da62931841a28e456b31] by Ian White
Tweaked doc dask http://github.com/ianwhite/resou...
Committed by Ian White
[649d468d4275c1e5ff5b3e14644a1c47803caea4] Changeset [649d468d4275c1e5ff5b3e14644a1c47803caea4] by Ian White
Send full garlic report to doc server http://github.com/ianwhite/resou...
Committed by Ian White
[9e0340e700d6b81eea6850b77c62e40a71da331e] Changeset [9e0340e700d6b81eea6850b77c62e40a71da331e] by Ian White
Revert f4e1781, because the bug in rails which required it has now been fixed (see http://rails.lighthouseapp.com/p...
This reverts commit f4e178155daa57482c653c62daba1f630d70eba5. http://github.com/ianwhite/resou...
Committed by Ian White
[f4e178155daa57482c653c62daba1f630d70eba5] Changeset [f4e178155daa57482c653c62daba1f630d70eba5] by Ian White
Adding explicit call to service.new, because of recent change in rails (see http://rails.lighthouseapp.com/p... http://github.com/ianwhite/resou...
Committed by Ian White
[1cf438fcf18dff7036186497bb7d1e47ec573e73] Changeset [1cf438fcf18dff7036186497bb7d1e47ec573e73] by Ian White
Merge branch 'master' of git://github.com/econsultancy/resources_controller http://github.com/ianwhite/resou...
Committed by Ian White
[95fc6785e19dd3dfed01a3066fa78b55a03dbeaa] Changeset [95fc6785e19dd3dfed01a3066fa78b55a03dbeaa] by Ian White
Add some specs for include_ations behaviour http://github.com/ianwhite/resou...
Committed by Ian White
[757310e6116f74721759d14e7f706e52e26b9f39] Changeset [757310e6116f74721759d14e7f706e52e26b9f39] by Tom Stuart
Made action_methods_to_remove tolerant of single symbols for :only and :except http://github.com/ianwhite/resou...
Committed by Tom Stuart
[35fda338e48654222d3566f18cb64964eba433a1] Changeset [35fda338e48654222d3566f18cb64964eba433a1] by Ian White
Updated changelog http://github.com/ianwhite/resou...
Committed by Ian White
[454b4dc8c69bf417edb4a6d2f9ef8847b94ee42c] Changeset [454b4dc8c69bf417edb4a6d2f9ef8847b94ee42c] by Ian White
Removed deprecation warnings from save_resource, and added warnings in the comments. http://github.com/ianwhite/resou...
Committed by Ian White
[40174b572fa933173d5d3c1983eaad7da015b13f] Changeset [40174b572fa933173d5d3c1983eaad7da015b13f] by Ian White
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 => {:enabled => true}) http://github.com/ianwhite/resou...
Committed by Ian White
[264608d09733b602cb3a4e97db7c0a9cc10c56a6] Changeset [264608d09733b602cb3a4e97db7c0a9cc10c56a6] by Ian White
Rename according to spec convention http://github.com/ianwhite/resou...
Committed by Ian White
[ab631bcfcbbc0c4e38296e314c20658c6e383c30] Changeset [ab631bcfcbbc0c4e38296e314c20658c6e383c30] by Ian White
Changed some methods names because of a conflict http://github.com/ianwhite/resou...
Committed by Ian White
[144de668978ff5345f04c1842815b115dc055789] Changeset [144de668978ff5345f04c1842815b115dc055789] by Ian White
renaming methods in IncludeActions for clarity http://github.com/ianwhite/resou...
Committed by Ian White
[aa2c6e2d266bfa800fd00215a6a9cb125c76449d] Changeset [aa2c6e2d266bfa800fd00215a6a9cb125c76449d] by Ian White
Added IncludeActions#methods_to_remove which enables easier custom behaviour for action modules http://github.com/ianwhite/resou...
Committed by Ian White
[8a3691dce98e953bcf5186b024707f7f73f6c896] Changeset [8a3691dce98e953bcf5186b024707f7f73f6c896] by Ian White
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. http://github.com/ianwhite/resou...
Committed by Ian White
[23f8b9e4d72e9e0b0837a972be596c36fbb65cca] Changeset [23f8b9e4d72e9e0b0837a972be596c36fbb65cca] by Ian White
Attribution http://github.com/ianwhite/resou...
Committed by Ian White
[9a359abd87d4bab1036abbab83b56f4e1113a915] Changeset [9a359abd87d4bab1036abbab83b56f4e1113a915] by Ian White
Updated CHANGELOG, and contributors http://github.com/ianwhite/resou...
Committed by Ian White
[2f95de2f45f9093108150df702a7e7dbe569ab18] Changeset [2f95de2f45f9093108150df702a7e7dbe569ab18] by Tom Stuart
Changed add_enclosing_resource arguments to allow implicit resource name (inferred from its class) http://github.com/ianwhite/resou...
Committed by Tom Stuart
[93b29a469bf994434f3e661f29fefc5f51bd4109] Changeset [93b29a469bf994434f3e661f29fefc5f51bd4109] by Joel Chippindale
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. http://github.com/ianwhite/resou...
Committed by Joel Chippindale
[d82eedac75ba1eb821c50fe542df956b89be73db] Changeset [d82eedac75ba1eb821c50fe542df956b89be73db] by Ian White
Fixing another typo http://github.com/ianwhite/resou...
Committed by Ian White
[9f29e2c42ecda21656462a79dd5c013fe1561831] Changeset [9f29e2c42ecda21656462a79dd5c013fe1561831] by Ian White
Making cruise task push docs to plugins.ardes.com on success http://github.com/ianwhite/resou...
Committed by Ian White
[1db6354d56bb7e25a2ad47df556a5627bde3111e] Changeset [1db6354d56bb7e25a2ad47df556a5627bde3111e] by Ian White
Updated README and SPECDOC http://github.com/ianwhite/resou...
Committed by Ian White
[1d1acf0e45af72546cda137dc21cfb46543005f2] Changeset [1d1acf0e45af72546cda137dc21cfb46543005f2] by Ian White
linking README.rdoc to README for api doc http://github.com/ianwhite/resou...
Committed by Ian White
[4e19116daaf7730b316752d70b18b931379606d6] Changeset [4e19116daaf7730b316752d70b18b931379606d6] by Ian White
Remove setting of RC action modules in specs, so we can test compatibility with other plugins (such as response_for_rc) http://github.com/ianwhite/resou...
Committed by Ian White
[4b31d14ed2bcdde7f1b109983afa1388df60e957] Changeset [4b31d14ed2bcdde7f1b109983afa1388df60e957] by Ian White
Updated CHENGELOG http://github.com/ianwhite/resou...
Committed by Ian White
[ceaf1b96a2ac9eb82250307029f36aed063326e0] Changeset [ceaf1b96a2ac9eb82250307029f36aed063326e0] by Ian White
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 ian.w.white@gmail.com Date: Sun Sep 14 05:21:23 2008 +1000
Docfixes, CHANGELOG, SPECDOC
commit e670fd2e18678d94292bc684e57f8bf64a2e2dc9 Author: Ian White ian.w.white@gmail.com Date: Sun Sep 14 05:09:24 2008 +1000
Fixed logic error in AR.saved?
commit b3e2838e1515503820e49eaf7853099df33a0d8e Author: Ian White ian.w.white@gmail.com Date: Sun Sep 14 05:05:29 2008 +1000
Adding specs for AR.saved? and AR.validation_attempted?
commit 3e649c53d06a788b5e70878b2cb7e386571fce31 Author: Ian White ian.w.white@gmail.com Date: Sun Sep 14 04:56:56 2008 +1000
Fixed bug in init.rb
commit c72b1a917339b7ee94700d8eb6b6bd939ad7e4b2 Author: Ian White ian.w.white@gmail.com Date: Sun Sep 14 04:56:28 2008 +1000
Fixed bug in init.rb
commit d5702c06d8d54b80dd011f79ff3d2ac782ce902e Author: Ian White ian.w.white@gmail.com Date: Sun Sep 14 04:55:18 2008 +1000
Added AR.saved? & 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 ian.w.white@gmail.com 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 ian.w.white@gmail.com 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 ian.w.white@gmail.com Date: Sat Sep 13 09:46:52 2008 +1000
Small fix for comments_with_models spec
commit 3a2426cd00fa945d155d4f3ebff6ccc48a7b0cf2 Author: Ian White ian.w.white@gmail.com Date: Sat Sep 13 09:29:26 2008 +1000
Added specs for comments_controller which use real DB objects
commit 79a93132f6e49a556775e6508a5773686ccd6332 Author: Ian White ian.w.white@gmail.com Date: Sat Sep 13 06:27:51 2008 +1000
Fixing comments with models spec
commit 05f551f5755e6db41a83dde0c9b0db99a4e168d8 Author: Ian White ian.w.white@gmail.com Date: Sat Sep 13 06:24:19 2008 +1000
Added some controller specs with real models
commit 6163aba8c5315598d173cd205bc2d69286ae4271 Author: Ian White ian.w.white@gmail.com Date: Sat Sep 13 06:02:36 2008 +1000
Updated 2.1.x target
commit b3c6d13a77aff7d831e136221ead8b7fa7bed4e1 Author: Ian White ian.w.white@gmail.com Date: Sat Sep 13 04:54:40 2008 +1000
Add resource_saved stuff back in (2f49687, 7423cf1)
This reverts commit c21f35c35ef71576c99d412bc562ab10278c652b.
Committed by Ian White
[c21f35c35ef71576c99d412bc562ab10278c652b] Changeset [c21f35c35ef71576c99d412bc562ab10278c652b] by Ian White
Reverted 2f49687, 7423cf1 (save_resource and resource_saved? stuff) because of aberrant behaviour. Will add them back in with some extra specs. [Jason Lee] http://github.com/ianwhite/resou...
Committed by Ian White
[2a6493b1f7b812aa4da7c1c8d6a97a9667296ba5] Changeset [2a6493b1f7b812aa4da7c1c8d6a97a9667296ba5] by Ian White
Added Rein Henrichs to the contributors list. (Next time i'll properly keep the author and message when I commit a pull request) http://github.com/ianwhite/resou...
Committed by Ian White
[e922c07753cd5da689093969c336343ba204cda1] Changeset [e922c07753cd5da689093969c336343ba204cda1] by Ian White
Merge branch 'master' of git://github.com/ReinH/resources_controller into rein http://github.com/ianwhite/resou...
Committed by Ian White
[f3b70b193f669a2e93fae9b8f3a4ac9170427624] Changeset [f3b70b193f669a2e93fae9b8f3a4ac9170427624] by ReinH
Finishing documentation update http://github.com/ianwhite/resou...
Committed by ReinH
[b91c26f0d45781e2462bcdf3b04a2c4161e0ee73] Changeset [b91c26f0d45781e2462bcdf3b04a2c4161e0ee73] by ReinH
Documentation update replacing :erp with :resource_path http://github.com/ianwhite/resou...
Committed by ReinH
[405ff953e98aef0b92e8c25bbf07d8dcf4cd3fc5] Changeset [405ff953e98aef0b92e8c25bbf07d8dcf4cd3fc5] by Ian White
Updated Readme http://github.com/ianwhite/resou...
Committed by Ian White
[9418e02f40a40faa1da70235e3a2143a0560f5f6] Changeset [9418e02f40a40faa1da70235e3a2143a0560f5f6] by Ian White
resource_saved? has different semantics Removed the Saved AR mixin http://github.com/ianwhite/resou...
Committed by Ian White
[2f496874436e334346d4b0d8029a055c6821c93b] Changeset [2f496874436e334346d4b0d8029a055c6821c93b] by Ian White
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. http://github.com/ianwhite/resou...
Committed by Ian White
[633fe459e681a3dd3c24434d431ef4f0600b45eb] Changeset [633fe459e681a3dd3c24434d431ef4f0600b45eb] by Ian White
Added note about spec:generate task, which ensures rspec_scaffold controller specs all pass against simple resources_controller controllers http://github.com/ianwhite/resou...
Committed by Ian White
[1b4ba5726c552da695fb36c260305f4799fd6925] Changeset [1b4ba5726c552da695fb36c260305f4799fd6925] by Ian White
Updated garlic_example to run the spec generator specs http://github.com/ianwhite/resou...
Committed by Ian White
[c7816162701d0ff5f6f2c431dfab56fea08a83b5] Changeset [c7816162701d0ff5f6f2c431dfab56fea08a83b5] by Ian White
Improved spec:generate output http://github.com/ianwhite/resou...
Committed by Ian White
[31edab312747ba50c086f0fcad96ddf21cc7005d] Changeset [31edab312747ba50c086f0fcad96ddf21cc7005d] by Ian White
Finished generated specs rake tasks http://github.com/ianwhite/resou...
Committed by Ian White
[88e8625d264fd7387551dc91d649d0f64ab8763e] Changeset [88e8625d264fd7387551dc91d649d0f64ab8763e] by Ian White
First stab at running against auto-generated rspec specs http://github.com/ianwhite/resou...
Committed by Ian White
[f20fa7e2b31be4c0668a0439a78f386392872262] Changeset [f20fa7e2b31be4c0668a0439a78f386392872262] by Ian White
Fixing typo in garlic_example.rb http://github.com/ianwhite/resou...
Committed by Ian White
[c6f6426da4e721e5b56803d834b8ff55199e93f5] Changeset [c6f6426da4e721e5b56803d834b8ff55199e93f5] by Ian White
explicitly hide_action respond_to? (Change in edge rails requires this) http://github.com/ianwhite/resou...
Committed by Ian White
[f69379470e88cf9dcd8b3b457e765f30687b064a] Changeset [f69379470e88cf9dcd8b3b457e765f30687b064a] by Ian White
Removing pending specs, as I'm targeting ianwhite/rspec for now (until various patches applied) http://github.com/ianwhite/resou...
Committed by Ian White
[e8deb367abe1ce4a00732c49af8d8becf60fbc40] Changeset [e8deb367abe1ce4a00732c49af8d8becf60fbc40] by Ian White
Updated README http://github.com/ianwhite/resou...
Committed by Ian White
[6ebe774532b0ca10f0cc0cde80b3253ea7517952] Changeset [6ebe774532b0ca10f0cc0cde80b3253ea7517952] by Ian White
Updating garlic targets http://github.com/ianwhite/resou...
Committed by Ian White
[d60cdbc0a75ba9a1ea90f305b49f9253d11784b2] Changeset [d60cdbc0a75ba9a1ea90f305b49f9253d11784b2] by Ian White
Specs pending on #469@rspec http://github.com/ianwhite/resou...
Committed by Ian White
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
resources_controller is a rails plugin that eases the pain of RESTful controllers.
