What''s the lowest abstraction barrier between the database and ruby? Where are the files with the instructions on translating ruby commands to actual database queries for the particular database you''ve set up? Thanks for any help -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Sep-19 10:00 UTC
Re: What''s the loweset level between database and ruby
On Sep 19, 10:55 am, Max Baroi <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> What''s the lowest abstraction barrier between the database and ruby? > Where are the files with the instructions on translating ruby commands > to actual database queries for the particular database you''ve set up? >There''s several bits to that. the responsability is shared between the connection adapter ( in active_record/lib/connection_adapters) and variety of bits of activerecord (a lot of that is in base.rb) Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung wrote:> On Sep 19, 10:55�am, Max Baroi <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: >> What''s the lowest abstraction barrier between the database and ruby? >> Where are the files with the instructions on translating ruby commands >> to actual database queries for the particular database you''ve set up? >> > There''s several bits to that. the responsability is shared between the > connection adapter ( in active_record/lib/connection_adapters) and > variety of bits of activerecord (a lot of that is in base.rb) > > FredSo if someone wanted to add a database that rails could connect to, what files would they need to create? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Sep-19 20:19 UTC
Re: What''s the loweset level between database and ruby
Sent from my iPhone On 19 Sep 2008, at 20:17, Max Baroi <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Frederick Cheung wrote: >> On Sep 19, 10:55�am, Max Baroi <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> >> wrote: >>> What''s the lowest abstraction barrier between the database and ruby? >>> Where are the files with the instructions on translating ruby >>> commands >>> to actual database queries for the particular database you''ve set >>> up? >>> >> There''s several bits to that. the responsability is shared between >> the >> connection adapter ( in active_record/lib/connection_adapters) and >> variety of bits of activerecord (a lot of that is in base.rb) >> >> Fred > > So if someone wanted to add a database that rails could connect to, > what > files would they need to create?You''d need a new connection adapter Fred> > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---