On Feb 16, 7:48 pm, "Robert Pankowecki (rupert)"
<[email protected]> wrote:
> Maybe try
> set_primary_key 'ID'
> instead of
> set_primary_key 'id'
>
> ?
>
> Robert Pankowecki

Thanks, Robert.

Doing

set_primary_key 'ID'

seems to work.  So, now

irb> ts = TableSchema.first
=> #<TableSchema ID: "88E605D47-621C-4DD6-BD6F-D3ABD93437F8",
TABLE_NAME: "ENTITY_INST", DISPLAY_NAME: "Entity Instance", Type: 1,
DESCR: "All \"real things\" - by label", DELETED_FLAG: false,
CLASS_ID: "085F7B9E-39 9D-48AD-A7A3-2AD45269F99B">
irb> ts.id
=> "88E605D47-621C-4DD6-BD6F-D3ABD93437F8"
irb> ts.ID
=> "88E605D47-621C-4DD6-BD6F-D3ABD93437F8"

Thanks!

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to