Rails SQL Views 0.5.0 is now available from http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as a Gem (gem install rails_sql_views). More information on Rails SQL Views can be found at http://activewarehouse.rubyforge.org/rails_sql_views/ 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. V/r Anthony E.
on 2006-12-29 17:10
on 2006-12-29 18:10
Anthony, I'm really happy to see this plugin being released and your continued work on it. Can you give an example of using views in your application after running a migration created using your gem? Since the views aren't returned with the show tables command, how does one tie a Model Class in their Rails Application with a correlating View? Thanks! D. Taylor S.
on 2006-12-29 19:59
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. V/r Anthony E. On 12/29/06, D. Taylor S. <firstname.lastname@example.org> wrote: > Thanks! > > a Gem (gem install rails_sql_views). More information on Rails SQL > > Anthony E. > > > > > > > > > > > > > -- Cell: 808 782-5046 Current Location: Melbourne, FL