Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondew committed Oct 8, 2009
1 parent 22c3a19 commit 573eb68
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
= named_instances
= Named Instances

Description goes here.
Provides support for named instances in Rails.

== Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Commit, do not mess with rakefile, version, or history.
(if you want to have your own version, that is fine but
bump version in a commit by itself I can ignore when I pull)
* Send me a pull request. Bonus points for topic branches.
Quick usage:

class Diagnosis < ActiveRecord::Base
has_named_instances :name
end

>> Diagnosis.get(:diabetes_mellitus)
=> #<Diagnosis id: 52, name: "Diabetes Mellitus", created_at: "2009-10-07 15:41:50", updated_at: "2009-10-07 15:41:50">

Patches welcome, enjoy!

== Copyright

Expand Down

0 comments on commit 573eb68

Please sign in to comment.