# ASP.NET to Rails with MySQL

**URL:** <https://www.ruby-forum.com/t/asp-net-to-rails-with-mysql/153118>\
**Category:** Rails\
**Created:** [November 12, 2008, 12:49pm UTC](https://www.ruby-forum.com/t/asp-net-to-rails-with-mysql/153118 "2008-11-12T12:49:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa125](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sa125](https://www.ruby-forum.com/u/sa125)\
**Post date:** [November 12, 2008, 12:49pm UTC](https://www.ruby-forum.com/t/asp-net-to-rails-with-mysql/153118/1 "2008-11-12T12:49:33Z")

</div>

Hi -

I’m thinking about porting an [ASP.NET](http://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](http://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!

---

<div class="post-metadata">

**Author:** ![sa125](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sa125](https://www.ruby-forum.com/u/sa125)\
**Post date:** [November 12, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/asp-net-to-rails-with-mysql/153118/2 "2008-11-12T14:16:40Z")

</div>

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 A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
