How to map a mysql database view using Ruby ActiveRecord in Rails?
The book Enterprise Rails has a whole chapter on basing a model on a database view. Here it is at Google Books.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With