Displaying 1 result from an estimated 1 matches for "in_place_collection_editor".
2006 Mar 25
0
in_place_collection_editor
...atch
(http://dev.rubyonrails.org/ticket/4302). This was a drunk patch; it
needs a bit of work (Don''t drink & code!). So far I''ve gotten it to work
correctly with normal collections, but I want to use it for belongs_to
relations as well.
I want to build a test case for the in_place_collection_editor field for
which I need to know how to do the following (in rails core trunk):
How do I simulate a controller?
How do I simulate an instance variable on that controller?
How do I simulate an Array of ActiveRecord instances? Can this array be
loaded from fixtures?
I basically want to do the follow...