Permalink
Browse files

Minor formatting changes. Small change to `rake spec`.

 * removed the spaces from the end of lines
 * wrapped lines in README
 * `rake spec` checks for the existance of spec.opts
  • Loading branch information...
1 parent 7310672 commit 3a3f9da518e9b0a6ca2232623692e0a14470959e nicholas a. evans committed Jul 22, 2008
Showing with 145 additions and 138 deletions.
  1. +10 −4 README
  2. +131 −131 spec/hyperactive_resource_spec.rb
  3. +4 −3 tasks/rspec.rake
View
14 README
@@ -1,11 +1,16 @@
HyperactiveResource
===================
-Many have said that ActiveResource is not really "complete". On the surface, this means that some features that are documented aren't implemented. Digging a little deeper, we find that some features that should exist don't.
+Many have said that ActiveResource is not really "complete". On the surface,
+this means that some features that are documented aren't implemented. Digging a
+little deeper, we find that some features that should exist don't.
-Arguably, a "complete" ActiveResource would behave like ActiveRecord or, as the rdoc for ActiveResource states "very similarly to Active Record".
+Arguably, a "complete" ActiveResource would behave like ActiveRecord or, as the
+rdoc for ActiveResource states "very similarly to Active Record".
-Hyperactive Resource is MDL's extension to ActiveResource::Base written to support our Patient Registry and goes a long way towards the goal of an ActiveResource that behaves like ActiveRecord.
+Hyperactive Resource is MDL's extension to ActiveResource::Base written to
+support our Patient Registry and goes a long way towards the goal of an
+ActiveResource that behaves like ActiveRecord.
Features
* Client side validations
@@ -29,7 +34,8 @@ Example
1. Install the plugin via: (insert svn commands here)
- 2. Create a HyperactiveResource where you would normally use ActiveResource and define the meta-data/associations that drive the dynamic magic:
+ 2. Create a HyperactiveResource where you would normally use ActiveResource
+ and define the meta-data/associations that drive the dynamic magic:
class Address < HyperactiveResource
self.columns = [ :street_address, :city, :zipcode, :home_phone_number ]
Oops, something went wrong.

0 comments on commit 3a3f9da

Please sign in to comment.