Hello, First of all Sequel is a great library. Thank you developers.
I tried to work the sample in the sequel docs with no luck. I am working with PostgreSQL. I created 2 tables: <https://lh5.googleusercontent.com/-h7gjbZlllTw/UvKdJ1-XfUI/AAAAAAAAAOQ/QN4bHcUgNO8/s1600/a.png> *Data in employees:* <https://lh3.googleusercontent.com/-rH2bs4DTn2Y/UvKdkJz4FiI/AAAAAAAAAOY/aAGU2vSrYjM/s1600/employees.png> *Data in staff:* <https://lh4.googleusercontent.com/-woglQo_RLuM/UvKdpJqdlDI/AAAAAAAAAOg/hQ5bvPtsUi0/s1600/staff.png> I created the classes (Employee, Staff) as: *class Employee < Sequel::Model* * plugin :class_table_inheritance, :key=>:kind, :table_map=>{:Staff=>:staff}* * end* *class Staff < Sequel::Model * *end* But every time that I want to reply the documentation results (a = Employee. all # [<#Staff>, <#Manager>, <#Executive>]) I got: *#<Models::Employee:0x007f3f5f1e2648>* *#<Models::Employee:0x007f3f5f1e1950>* So I suspect that I am doing something wrong because I didn't get any concrete subclass instance. Please help. Thank you! Cristian -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/groups/opt_out.
