I''m working on a legacy SQL db. It is distributed, to they are using the uniqueidentifier type for the primary key. At first, at least, I won''t be updating records, but I''m seeing a lot of negativity about using anything other than incrementing integers for the pk--which are obviously inadequate for this environment. It is enough to use set_primary_key? Do I need more? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
See if the information in this blog posting helps you: http://made-of-stone.blogspot.com/2006/06/about-turn-or-how-to-use-ruby-on-rails.html On Sep 4, 2:13 pm, Student <blog...-gRoFi9f2ETe4oY6Ej3vMAKxOck334EZe@public.gmane.org> wrote:> I''m working on a legacy SQL db. It is distributed, to they are using > the uniqueidentifier type for the primary key. > > At first, at least, I won''t be updating records, but I''m seeing a lot > of negativity about using anything other than incrementing integers > for the pk--which are obviously inadequate for this environment. > > It is enough to use set_primary_key? Do I need more?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Interesting. So the view is defined in the db, not in rails, right? On Sep 4, 5:49 pm, Robert Walker <rwalker...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> See if the information in this blog posting helps you: > > http://made-of-stone.blogspot.com/2006/06/about-turn-or-how-to-use-ru... > > On Sep 4, 2:13 pm, Student <blog...-gRoFi9f2ETe4oY6Ej3vMAKxOck334EZe@public.gmane.org> wrote: > > > I''m working on a legacy SQL db. It is distributed, to they are using > > the uniqueidentifier type for the primary key. > > > At first, at least, I won''t be updating records, but I''m seeing a lot > > of negativity about using anything other than incrementing integers > > for the pk--which are obviously inadequate for this environment. > > > It is enough to use set_primary_key? Do I need more?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---