Re: Question about Active Record

51 views
Skip to first unread message

Frederick Cheung

unread,
Nov 17, 2012, 4:32:26 AM11/17/12
to Ruby on Rails: Talk


On Nov 16, 2:05 pm, Alexandra E Paredes T <05-38...@usb.ve> wrote:
> Good Morning,
>
> I'm an student of Computer Engineering from Simón Bolívar University, in
> Caracas Venezuela. I'm working in my thesis about ORM and their
> "respectfulness" on databases. In order to have a better understanding of
> the Ruby on Rails ORM, I'm wondering where do I can read about the
> low-level methods of the ORM, or what module can I study to see that. Why
> I'm looking for is something like how ActiveRecords translates for example
> an search on SQL.
>

Sounds like you want to be looking at the arel gem and at
ActiveRecord::Relation

Fred

> In advance, thank you very much.

Alexandra E Paredes T

unread,
Nov 21, 2012, 6:37:39 PM11/21/12
to rubyonra...@googlegroups.com
Fred thanks for the response, a friend and I did some tests and found some useful info. Altough we're now wondering what would it happen if we decide not to work with ActiveRecord on RoR, what features of the framework we're going to lose?

Frederick Cheung

unread,
Nov 23, 2012, 4:39:05 AM11/23/12
to rubyonra...@googlegroups.com


On Wednesday, November 21, 2012 11:37:39 PM UTC, Alexandra E Paredes T wrote:
Fred thanks for the response, a friend and I did some tests and found some useful info. Altough we're now wondering what would it happen if we decide not to work with ActiveRecord on RoR, what features of the framework we're going to lose?

You'd lose the persistence layer, unless you replace it with another one (datamapper, mongoid etc.)

Fred
Reply all
Reply to author
Forward
0 new messages