Forum: Ruby on Rails ASP.NET to Rails with MySQL

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7db3b1680807d393d40260591b4ae5e0?d=identicon&s=25 sa 125 (sa125)
on 2008-11-12 12:49
Hi -

I'm thinking about porting an ASP.NET app to rails. This will require
complete re-write of the site's code, and I'm fine with it. With ASP.NET
I use a lot of MySQL views constructed from tables, and I wondered how I
could do this with rails.

I just started reading about RoR since I heard a lot of good things
about it and wanted a piece of the action. I'm really resisting the urge
to go with Django, even though I have a solid background with python
(any thoughts?). Thing is, I'm really used to formulating my own DB
queries, and rails handles all of those behind the scenes -- not
necessarily a bad thing, just need to get used to it. My question is, is
there a way to build rails apps with explicit queries, or mix
ActiveRecord action with those? I'd love to some feedback. Thanks!
7855792dbc5f3b4c365344314e2b1ad6?d=identicon&s=25 AndyV (Guest)
on 2008-11-12 14:16
(Received via mailing list)
Yes, you can mix hand-rolled sql queries (find_by_sql) with rails
generated queries (find) as much as you like.

On Nov 12, 6:49 am, Shilo Ayalon <rails-mailing-l...@andreas-s.net>
This topic is locked and can not be replied to.