Repository (Git)

Latest revisions

# Date Author Comment
582aca67 04/17/2008 03:43 PM Yossef Mendelssohn

Fixed major bug with inheritance.

The only check for whether or not to re-load the exemplars was in .spawn, but .gather_exemplars would go up the inheritance chain to get generators from parent classes. This caused some problems if a parent class had already gathered exemplars and then a child class caused it to re-gather them. (It was fine if the child class happened first.)

Moved the check to .gather_exemplars, added/moved specs, un-protected .gather_exemplars.

d048dbc9 04/16/2008 03:04 PM Yossef Mendelssohn

Adding Known Issues to README and generally updating content for recent changes.

b677d382 04/16/2008 03:02 PM Yossef Mendelssohn

Simplifying the cascading generation to always generate-and-save.

I guess I was right in that comment.

e80c7b30 04/16/2008 02:56 PM Yossef Mendelssohn

generate/generate! can now be thought of as analogs for create/create!

eaf1e4b9 04/16/2008 02:50 PM Yossef Mendelssohn

Moving 'generate' method entirely over to Rails side, leaving 'spawn' on its own for non-Rails use.

aec31278 04/16/2008 02:48 PM Yossef Mendelssohn

Further use of 'spawn' in place of 'generate' when only testing generation behavior without saving.

c7c5446a 04/16/2008 02:45 PM Yossef Mendelssohn

Minor (comment and whitespace) change in spec.

71e780ac 04/16/2008 02:44 PM Yossef Mendelssohn

Making 'spawn' method to take over for 'generate' for the use case of not saving.

bcd6a4ac 02/19/2008 12:36 PM Yossef Mendelssohn

Added comments to indicate more ways of calling generator_for.

b3f92fe2 02/19/2008 12:36 PM Yossef Mendelssohn

Adding specs to ensure blocks that specifically take no args (arity of 0 instead of -1 in Ruby 1.8) work just as well as blocks that implicitly take no arguments.

View revisions