Permalink
Browse files

* added require details in README file

  • Loading branch information...
1 parent df09828 commit 80bf8b12dd92ea086ac0b6e6076d23ce540018a4 @weppos committed Jun 7, 2008
Showing with 8 additions and 0 deletions.
  1. +8 −0 README
View
8 README
@@ -46,6 +46,12 @@ Stay tuned!
== Usage
+First, don't forget to require the library.
+
+ gem 'activerecord-multiconditions'
+ require 'multi_conditions'
+
+
=== Create a new instance
As stated by the Important section above, you first need a valid ActiveRecord model
@@ -127,6 +133,8 @@ See ActiveRecord::Base#find documentation for more conditions examples.
Once loaded, this library become part of ActiveRecord package and
creates its own namespace at ActiveRecord::Base::MultiConditions.
+ require 'multi_conditions'
+
For various reason, you cannot initialize a new ActiveRecord::Base::MultiConditions
but you *MUST* initialize a MultiConditions instance from a Model.

0 comments on commit 80bf8b1

Please sign in to comment.