views:

53

answers:

1

How to map a mysql database view using Ruby ActiveRecord in Rails?

+1  A: 

The book Enterprise Rails has a whole chapter on basing a model on a database view. Here it is at Google Books.

PreciousBodilyFluids