Quantcast
Channel: James Robey » Ruby on Rails
Browsing all 4 articles
Browse latest View live

Making Rake tasks ignore Rails observers

Have you ever run “rake db:migrate” on an empty database (or you did “rake db:migrate VERSION=0″ to empty the database). And then it fails on you like this? rake db:migrate (in...

View Article



Validates_uniqueness_of and single table inheritance

If you’re using STI (single table inheritance) with some Ruby on Rails models, and you need to make sure some fields are unique across all the models, you can use validates_uniqueness_of in the parent...

View Article

Project Railsway – a TV Series idea

Tonight I was watching “Project Runaway” which is a television series that collects 12 aspiring clothing designers to compete in a series of challenges and the top 3 finalists get to show their...

View Article

Weight Lifting for Everyone

PART 1: This program is the simplest and greatest weight lifting program for everyone. But first.. Why weight lift? Should everyone weight lift? Absolutely! Weight lifting is more than just...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images