ryan-allen/modelling — pull request #2 by justinfrench (2012-04-23 00:39:25+00:00)
Title: Fix circular references

Made the `#inspect` output look more like other ruby objects ("#"), and avoid stack level too deep errors by only naming (rather than inspecting) values that are `Modelling` objects.

This is not perfect (nested inspects for non-circular model references should be fine), but the end result is still monumentally better than `#inspect` simply returning the model name.

Actually tested in the reference app too :)