Posts Tagged ‘inherited_resources’

Mongoid + Carrierwave + Virus scanning!

Posted: 30th December 2010 by M. E. Patterson in Coding
Tags: , , , , ,

Ever wanted to have your app virus-scan uploads BEFORE you attach them to a model?  My BigAuthor app for writers and agents needed to do exactly that — I didn’t want some bozo uploading a virus-laden Word doc and then distributing to all the agents that log in to the site.  So I set to [...]

While working on my upcoming BigAuthor project, I came upon an interesting challenge that turned out to be so simple with MongoMapper that I just have to share it here. Need to create a hash of multiple filter parameters on a MongoMapper document using a form that is cleanly resource-based, using InheritedResources? It’s not as [...]