REST: Theory to practice
REST. What is it, and how can it be used to design better web applications? A presentation at RailsConf did me a great service by first pointing out all the things REST is not. It isn’t CRUD. It isn’t...
View ArticleAccess Control & Permissions in Rails
Access Control is a simple idea. We want company employees to be able to delete inappropriate content; but random Users cannot. Here I propose one way to implement Access Control that has the...
View ArticleSingle resource REST Rails routes
REST principles by default is a fantastic convention within Rails applications. The documentation for how to route HTTP requests are comprehensive and give examples about photo resources within an...
View ArticleStop leaky APIs
There are many blogs about how to expose an API for a Rails application and many times I look at this and am concerned about how these examples often leak the application design and the schema out...
View Article