search for: link_typ

Displaying 2 results from an estimated 2 matches for "link_typ".

Did you mean: link_type
2005 Dec 31
0
Polymorphic many to many linking
...puters ( id serial, description varchar ); -- model Class user create table users ( id serial, name varchar ); -- model class Desk create table desks ( id serial, location varchar ); -- The linking table create table linkings ( source_id int, source_type varchar, link_id int, link_type varchar, created_at timestamp, comments varchar ) I want to use has_many / belongs_to or some other association to be able to have any number of objects from different types linked to each object. I don''t want to create multiple linkings tables for that, as the more objects I have th...
2006 Jul 08
9
How to handle dynamically columned tables in rails
I want to build an application that lets me (the end user accessing a web page) design a simple list with columns and add records. E.g., if the end user says I want a table that has a list of songs, he can create a list (title, date, artist, label) and then make another list of, e.g., books on his bookshelf with the necessary columns (title, author, pub_date, shelf). The end user