Skip to content

Commit

Permalink
Updated readme and history for the Rails 3 upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
aughr committed Sep 8, 2010
1 parent a50ae2d commit ea0ee5d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions History.txt
@@ -1,3 +1,5 @@
* upgraded to Rails 3 and RSpec 2. No BC (as of yet).

* added ResourceMethods#destroy_resource, which calls destroy on the resource_service, which in turn finds the best way to
destroy the resource to trigger any association callbacks. Changed actions to use the destroy_resource method. (reported by Jason Lee)

Expand Down
24 changes: 24 additions & 0 deletions README.rdoc
Expand Up @@ -5,6 +5,30 @@ you override the default RESTful funtionality in a clean and simple manner.

See History.txt for recent changes.

== Rails 3 version

Garlic doesn't work with Rails 3, so here's how to test resources_controller in the meantime.

Generate a rails app:

rails new rc_test

and then add the following to the generated Gemfile:

gem 'rspec', '~> 2.0.0.beta.20'
gem 'rspec-rails', '~> 2.0.0.beta.20'

Then run

bundle install
rails generate rspec:install

Copy resources_controller into vendor/plugins and run

rake rcov:verify && rake spec:generate

from the resources_controller directory

== Resources

<b>Github</b> for code: http://github.com/ianwhite/resources_controller
Expand Down

0 comments on commit ea0ee5d

Please sign in to comment.