Creating a view through a migration

Does anyone have any experience creating views using migration files. I
know that I could create the view using execute syntax but I was
wondering
if there is a best practice with regards to that?

Thanks,
Jim

James E. wrote:

Does anyone have any experience creating views using migration files.

The rails_sql_views gem should handle that for you, or so say the docs
(I’ve never used it).

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]