@pcmoor said:

@sdmitch said:

Here's a start

Hi Sam (sdmitch)

I notice you use some sort of dialog or tool bar to execute the selected code from a dropdown. May I know its name and availability?

Thanks
Philip (pcmoor)

The tool bar is Ruby Web Console, the original of several currently available, by Jim Foltz. It allows you to type in code snippets and execute them in the model. The code I posted was created and tested in this manner.