similar to: Composite Keys on RESTful Routes

Displaying 20 results from an estimated 7000 matches similar to: "Composite Keys on RESTful Routes"

2006 Aug 14
0
Composite Primary Keys - now works with Rails 1.1.6
Due to the foolish implied assumption that there''d never be a revision to activerecord library, the Composite Primary Key code promptly broke for anyone who updated their apps to Rails 1.1.6 (with its activerecord-1.14.4) Now the gem dependencies are fixed and your legacy databases are free to wield composite primary keys without fear again. Description: Composite Primary Keys
2006 Aug 02
0
Composite Primary Keys support for Associations
Announcement: Composite Primary Keys gem now includes support for ActiveRecord Associations. Summary: Composite Primary Keys allows an ActiveRecord to support 2+ primary keys using the set_primary_keys class method. Previous versions provided full CRUD and find support. This latest release provides support for more ActiveRecord magic: associations (has_many, belongs_to, etc) Full report:
2006 Jul 30
0
Composite Keys 0.3.3
Composite Primary Keys for ActiveRecords Bug fix release - 0.3.3 Notes: Fixed errors with id= and create. Note, the create method does not use sequences to generate ids for you. If anyone has any use cases where their DBs generate ids for their composite keys, pls let me know - we may need to add some syntax to the set_primary_keys command. Url: http://compositekeys.rubyforge.org Summary:
2007 Mar 08
2
Composite Primary Keys
Have been looking into using rails but am finding the "Composite Primary Keys are Bad" thing a tad disturbing (to put it mildly). I have been working with RDBMS systems for over fifteen years and this is the first time I have herd the idea questioned. I have cone across using surrogate keys which mirror the composite key for performance reasons in VERY big databases but I have never
2005 Dec 09
1
composite primary keys
Hello, Is it true that Rails doesn''t support composite primary keys? I have a legacy system and was pondering adding a new interface to it. This whole Rails thing (and yes, Ruby too) seems pretty interesting but I''d feel ashamed of myself adding an additional column called ''id'' when there''s already a perfectly good composite key. Assuming the rumors
2006 Jul 23
0
Composite Primary Keys 0.3.2
ActiveRecords with composite primary keys now seem to happily support find/create/update/destroy options. Url: http://compositekeys.rubyforge.org Background: Rails/ActiveRecords has long been critised for not supporting legacy databases, especially composite primary keys. This gem extends ARs with this support. Cheers Nic -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
4
How to fake composite primary keys?
I know ActiveRecord doesn''t support composite primary keys, but I need to use one, and I need it ASAP. I don''t need any composite foreign keys, luckily; what I have is a table that stores old versions of rows in another table, so the composite key is an id + date stamp. Would someone tell me a hack I can use to support this? -- View this message in context:
2006 Jun 21
1
about composite primary keys
hello, what is the strategy you use for composite primary keys ? I saw the solution proposed by Graham Glass ( ticket 3201) using a set_composite_key..., but it seems it is not in AR ....(why ?) thanks for feedback arnaud
2008 Mar 20
2
Importing an Excel spreadsheet
Hello I am trying to import an *.xls spreadsheet into R. I am doing this as follows: > read.table(file("A5_DL.xls")) But obtain the error: Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, na.strings = character(0)) : invalid multibyte string at '?????' So I copied it all over to a text document and tried to import that, thus: >
2006 Mar 22
0
validating composite model keys
I know that I should be able to figure this out by looking at the source, but this "ruby newbie" can''t: I have a model for a table with a 3-column composite key. Is there a way to tell the stock validates_uniqueness_of() helper to validate such a key or do I have to write my own? Thanks, Larry -- Posted via http://www.ruby-forum.com/.
2010 Aug 19
1
Composite primary keys and :joins=>
I have a legacy db with the following simplified structure: Table-A: type_key, code_key, name, ... # PKs are type_key and code_key, there is no id col and I cannot alter this db Table-B: # each row has only the code as a foreign_key, the type_key is hard-coded to "FOOKEY" an_id, code, ... Models: class TableB < AR::Base set_table_name ''table_b''
2012 Jan 05
3
composite keys and association
i have two table, comment and post, both have composite keys, and no id column, comment belongs to post, i follow the instruction of http://compositekeys.rubyforge.org/, and it seems successfully, (But i still cant confirm to put require ''rubygems'' and require ''composite_primary_keys'' on which file ). I can do the CRUD operation for post,then i want to create
2006 Jul 30
1
Doubt on composite index
The AWDwR book has the following: add_index :categories_products, [:product_id, :category_id] add_index :categories_products, :category_id The first, composite index actually serves two purposes: it creates an index which can be searched on both foreign key columns, and with most databases it also creates an index that enables fast lookup by the product id. The second index then completes
2013 Apr 05
2
Composite Quantile Regression
Does anyone know of R functions for doing composite quantile regression (Hou and Yuan Ann Stat 36:1108, 2008)? The paper's authors do not talk about software in their paper or on their web sites. Thanks Frank ----- Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r.789695.n4.nabble.com/Composite-Quantile-Regression-tp4663463.html
2011 May 28
7
[Bug 37681] New: Tearing with composite extension
https://bugs.freedesktop.org/show_bug.cgi?id=37681 Summary: Tearing with composite extension Product: xorg Version: 7.6 Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2007 May 18
1
compiz run on DISPLAY :2 error: No composite extension
I can enable compiz on default DISPLAY :0 on gnome on FC6, all features are OK, but when I set up a DISPLAY :2 with Xnest, try to run compiz in DISPLAY :2, fail, Error info: compiz: No composite extension I check compiz source code: if (!XQueryExtension (dpy, COMPOSITE_NAME, &d->compositeOpcode,
2014 May 15
0
composite primary key - Rails 4.1
Hi, I am facing issue with composite primary key In my gem file I have the below entries - gem 'rails', '>= 4.1.0.rc2' gem 'mysql2' gem 'rb-readline', "~> 0.5.1" gem 'sdoc', '~> 0.4.0', group: :doc gem 'spring', group: :development gem 'bcrypt', '~> 3.1.7' gem
2009 Jan 05
0
S-video & composite output
I finally got nouveau (from git) working on my PowerBook G4 12". Now, my next step is to get it to drive my TV. I have it connected via Apple's "mini-DVI to Video Adapter", which comes with both an S-video and a composite output. When I start X, `xrandr' tells me: % xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1360
2004 May 11
0
Composite and DM Review Invite You to a Web Seminar
Composite and DM Review Present: Turbo-Charge Operational Performance with On-Demand Business Intelligence Make timely and accurate decisions, wherever your information resides. Date: May 26, 2004 Time: 2:00 p.m. - 3:00 p.m. ET 11:00 a.m. - 12:00 p.m. PT Did you know that operational users and managers often make critical decisions with incomplete or inaccurate information? The results are
2005 Jul 06
2
Composite Views
Hello: How do you create a composite view? I have a form based on the model "contacts" which consists the following models: - organization - person - address I was going to use partials to create the form; e.g: - organizations/_form.rhtml - people/_form.rhtml .etc ...and render them with the appropriate tag: <%= render_partial ''people/form'', @person %> I