Browse files

Change README to talk about rspec bug and polymorphic associations.

  • Loading branch information...
1 parent c7b5003 commit a8751f45e5c5803d525ee3acd11eca62ad077da3 @josevalim josevalim committed Sep 9, 2009
Showing with 9 additions and 0 deletions.
  1. +9 −0 README.rdoc
@@ -30,6 +30,12 @@ If you want it as plugin, just do:
script/plugin install git://
+== Rspec known bug
+When used with integrate_views equals to false, rspec overwrites default_render,
+render and some other controller methods which makes Inherited Resources not work
+properly. In such cases, you have to set integrate_views to true.
== Basic Usage
To use Inherited Resources you just have to inherit (duh) it:
@@ -422,6 +428,9 @@ When using polymorphic associations, you get some free helpers:
parent_class #=> Task
parent #=> @task
+Right now, Inherited Resources is limited and does not allow you
+to have two polymorphic associations nested.
== Optional belongs to
Later you decide to create a view to show all comments, independent if they belong

0 comments on commit a8751f4

Please sign in to comment.