Tag: development
Quick and easy static pages in Rails
February 10th, 2010, 16 Comments
Sometimes you have a Rails app, the core functionality is not a CMS, and you need to add some static pages to your app that don’t get changed often, eg, an about us page, privacy policy, etc.
This post shows you a quick and easy way to do that in about 60 seconds, without using a [...]
Sometimes the best way to create is to remove
February 6th, 2010, 4 Comments
Over the life cycle of a project many features may be developed, sometimes just to account for one variation or tiny use case, get used once, and are then not used again for the next 5 years (if ever).
One of my personal pet peeves is overly complicated software with too many redundant, old, unused features. [...]
Howto Display a GitHub Changelog in your application
June 27th, 2009, 2 Comments
In this post I will show you a simple way to display a list of your GitHub changes inside your application.
This can be useful for so many reasons, not least helping to create a better relationship between your users and your developers. This obviously would not be applicable in all circumstances, but in many cases, [...]
Setting User’s Locale Based on Domain Name In Rails
June 18th, 2009, 2 Comments
In this tutorial I will show how you can quickly set the user’s locale based on the domain name they use to access your website. Let us assume you have your app, and you also own your own domain in several different country TLD’s, let’s say, you have example.com (main site), example.co.uk, example.fr, example.it example.es, [...]