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]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs