Author Archives:

Applying data restrictions to route authorization

I introduced our concept of data restrictions in the context of filtering out entities from data access queries. I then had to clarify that data restrictions are not tied to data access – they are part of the domain logic. … Continue reading 

Posted in fubumvc | Leave a comment

Helpful DateTime extension methods for dealing with Time Zones

This post is inspired by Scott Mitchell’s 5 Helpful DateTime Extension Methods. I built a couple extension methods while adding time zone support to our application. Since time zone math is never fun, I figure someone else may benefit from … Continue reading 

Posted in Uncategorized | 3 Comments

A quick follow up about data restrictions

A comment on my last post caused me to re-read it, and realize that I didn’t do a good job of emphasizing the role of data restrictions (implementations of IDataRestriction<T>) in our application. Since I introduced them in the context … Continue reading 

Posted in fubumvc | Leave a comment

How we systemically apply filters to our data access

I wrote about limiting access to sensitive information in Dovetail Support Center on the company blog, but didn’t get too deep into the technical implementation. Since that feature development relied heavily on the capabilities of our open source web framework, … Continue reading 

Posted in fubumvc | 5 Comments

Validate a Facebook JavaScript SDK cookie with Ruby

UPDATE: The Facebook API has changed since this article was posted. The code below will no longer work with the cookies provided by Facebook (which now looks like “fbsr_#{@fb_app_id}”). There is some sample code in the comments below that is … Continue reading 

Posted in facebook, ruby | 6 Comments

Extending GitHub Issues

The problem My team recently decided to experiment with using the Issues feature of our private Github repository. We’ve avoided a bug tracking tool for a long time, but this one seemed just lightweight enough that it was worth a … Continue reading 

Posted in git, ruby, sinatra | 3 Comments

View files on GitHub from Visual Studio

My favorite way to view the history of a file in git is via the GitHub website. It gives me all the information I need, with convenient hyperlinks to to additional information. However, it was never easy to go from … Continue reading 

Posted in git | 1 Comment

Use gitk to understand git – merge and rebase

This is the second part of my Use gitk to understand git post. In my initial overview, I demonstrated creating a branch, making a couple commits to that branch, and then merging them back into master. In that scenario, there … Continue reading 

Posted in git | 29 Comments

Use gitk to understand git

Moving from subversion to git can be a struggle, trying to understand what terms like checkout, commit, branch, remote, rebase all mean in the git world. I learned by experimenting in a demo repository, trying out various commands, and using … Continue reading 

Posted in git | 14 Comments

Error detected while processing vimrc error when using UTF-8 characters in listchars variable

This error stumped me for a while, and I didn’t find any good answers on Google, so hopefully this can help someone else. I’m running gVim 7.2 on Windows – this information may not apply to other versions/platforms. Problem I’ve … Continue reading 

Posted in vim | 3 Comments