bigpresh/Dancer-Plugin-SimpleCRUD — pull request #21 by msouth (2012-08-24 19:49:49+00:00)
Title: Feature/custom columns

Hey,

here's the idea I had for how to address the custom column thing. I didn't actually look at putting hooks in like I said I was going to. I really liked this solution and concentrated on getting it buttoned up.

The only thing I can think of that you might be concerned about is that there is a feature I added in the second commit where raw_column can be arbitrary sql. I noticed you were quoting everything pretty religiously and tried to mimic that, but this case kind of has to be an exception, I think.

I added two custom columns to the example so you can see it working, and there's a kind of cool one in the pod that works with small modification if you put the transform into the example in place of the full name transform.

Also there's a small correction to the original pod in here.

Let me know what you think!

mike