Forum: Ruby on Rails [ANN] Rails SQL Views 0.5.0 Released

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Anthony E. (Guest)
on 2006-12-29 17:10
(Received via mailing list)
Rails SQL Views 0.5.0 is now available from and shortly as
a Gem (gem install rails_sql_views). More information on Rails SQL
Views can be found at

This release finally fixes the SchemaDumper issues, including the
necessary select statement for the view. It also introduces PostgreSQL
support, tested on both the native and pure ruby drivers.

As always, comments and suggestions are welcome.

Anthony E.
D. Taylor S. (Guest)
on 2006-12-29 18:10
(Received via mailing list)

I'm really happy to see this plugin being released and your continued
on it.

Can you give an example of using views in your application after running
migration created using your gem? Since the views aren't returned with
show tables command, how does one tie a Model Class in their Rails
Application with a correlating View?


D. Taylor S.
Anthony E. (Guest)
on 2006-12-29 19:59
(Received via mailing list)
Thanks for the support!

I just use regular model classes. In my tests on 1.2 RC1 the unit
tests demonistrate models backed by views, so I'm not sure about the
behavior you are referring to.

Take a look at the ViewTest unit test to see. If it doesn't work with
a specific adapter then please let me know and I'll see what I can do
to get it working. Alternatively if you can send a unit test which
demonistrates a deficiency then that is even better.

Anthony E.

On 12/29/06, D. Taylor S. <removed_email_address@domain.invalid> wrote:
> Thanks!
> > a Gem (gem install rails_sql_views). More information on Rails SQL
> > Anthony E.
> >
> >
> >
> >
>  >

Cell: 808 782-5046
Current Location: Melbourne, FL
This topic is locked and can not be replied to.