Into The Wind
If you work with web applications written using the Ruby on Rails framework, you might find this useful. Everyone else can treat this post like the waste of time it is. (maybe not work-safe)
I decided that subclassing FormBuilder was my best solution to a problem for one of my work projects. Being the behavior-driven development masochist that I am, I wanted to develop my custom FormBuilder example-first. There is surprisingly little information about this floating around the interwebs, so I decided to throw out a first cut via code example. Simplifications welcome.
1 |
# build a ViewExampleGroup |