A while ago I was involved in a project that wanted to convert a legacy CakePHP (v1.3) app into a Rails app. One of the problems we had to solve was...
4 articles tagged 'rails'
Quickly Generate Long Random Strings in Rails
Feb 12, 2013
One of the things some people don’t know to do when they grab an open source Ruby on Rails app from Github (or elsewhere) is to change the secret token...
Simple Sitemap.xml in Rails 3.1
Feb 4, 2013
There are all sorts of ways you could set up a sitemap for your rails 3.1 application.
If you want to add urls dynamically, from blog posts for example...
Recreate All Your Records
Jan 18, 2013
This may seem like a pretty unlikely situation, but occasionally you may need to recreate all records in a particular table, and you want it done via...