Forum: Ruby on Rails Question about Active Record

Posted by Alexandra E Paredes T (Guest)
on 2012-11-17 10:14
(Received via mailing list)
Good Morning,

I'm an student of Computer Engineering from Simn Bolvar 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.

In advance, thank you very much.
Posted by Frederick Cheung (Guest)
on 2012-11-17 10:33
(Received via mailing list)
On Nov 16, 2:05pm, Alexandra E Paredes T <05-38...@usb.ve> wrote:
> Good Morning,
>
> I'm an student of Computer Engineering from Simn Bolvar 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
Posted by Alexandra E Paredes T (Guest)
on 2012-11-22 00:39
(Received via mailing list)
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?

El sbado, 17 de noviembre de 2012 05:02:53 UTC-4:30, Frederick Cheung
escribi:
Posted by Frederick Cheung (Guest)
on 2012-11-23 10:39
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.