3 Easy steps to scanning files for viruses in MVC (and for free)

Well it’s been a while since I wrote something here, but now I came across something useful and worth sharing. In a few projects I work on, users upload content to share online. Now while we have virus scanners running, they only scan files saved on disk. I needed to figure out a better wayContinue reading “3 Easy steps to scanning files for viruses in MVC (and for free)”

Testing code changes, bugfixes, new features, …

When you implement a new feature somewhere, when you change just some bits of your code, when you fix a bug, or you just change a common text in an app… What do you do afterwards? Do you really check the result or do you trust yourself that it works fine 100%. It is anContinue reading “Testing code changes, bugfixes, new features, …”

Bulk testing your model attributes with rails

When it comes to testing in Ruby on Rails I tend to test every piece of its public interface. This means I test every single public method and attribute to ensure my desired functionality. Recently I’ve updated my application from Rails 1.2.5 to 2.0.1 and I was happy to have tests. None of them failedContinue reading “Bulk testing your model attributes with rails”

Create your website at WordPress.com
Get started