nathanvda/cocoon — pull request #45 by fl00r (2012-03-12 19:09:40+00:00)
Title: Added support of "conditions" in associations

- Gemfile.lock is kicked out
- rdoc/task fix

Added support of conditions in associations.

```ruby
class Post < ActiveRecord::Base
has_many :comments
has_many :admin_comments, class_name: "Comment", :conditions => { :author => "Admin" }
has_many :people
end
```

Now will create propper association object for `admin_comments`. Because it used to create the same object for `comments` and `admin_comments`