Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to map a database view using Ruby ActiveRecord?

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

like image 923
Mangano Avatar asked Feb 25 '26 12:02

Mangano


1 Answers

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

like image 91
PreciousBodilyFluids Avatar answered Feb 27 '26 01:02

PreciousBodilyFluids