Have a SQL Server DB with stored procedures for CRUD stuff. How would I use them with the Rails model framework? Are the 2 idealogies incompatible? -Larry _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 7/29/05, Larry Kelly <ldk2005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have a SQL Server DB with stored procedures for CRUD stuff. How would I use > them with the Rails model framework? Are the 2 idealogies incompatible?ActiveRecord has no built-in support for this. Just use MyModel.connection.execute to execute them. Or, MyModel.connection.select_one and select_all to retrieve rows. As for input and output parameters, good luck :) -- rick http://techno-weenie.net