Monthly Archives: July 2008

Restrict Action to a Particular Type of HttpRequest in Castle MonoRail

This is one of those things that apparently everyone just knows, but I didn’t, and haven’t, for the past 3 months of doing MonoRail development. Color me stupid. Hopefully someone else out there can benefit from this. If you want … Continue reading

Posted in Development | Leave a comment

FormHelper.Select with Enum

If you’re using Castle Monorail, and trying to use the FormHelper to create a form select janger from an enumerated type, you may or may not be confused as I was.  It’s not obvious, and I couldn’t find many good … Continue reading

Posted in Development | 1 Comment

StringClob FTL

Found another Castle ActiveRecord/NHibernate gotcha today. I had string columns being noisily truncated in my ActiveRecord types. Grr. I google and find a solution in the ActiveRecord FAQ: add a ColumnType="StringClob" to the property attribute. [Property(ColumnType="StringClob")] public String Contents { … Continue reading

Posted in Development | 3 Comments