Displaying 3 results from an estimated 3 matches for "relationated".
2006 Jun 23
2
polymorphic challenge
Hello All,
I have a little challenge and I am not sure if this is even possible
I am working on a dating/event site and few functionalities are similar
that I want to centralize them.
We have users which can have
- favorite users
- interest list
- blocked users
All these relations are like;
User <-> Relation <-> User
I was thinking I could have a class called Relation (with a
2007 May 14
1
Trying to install CentOS 4.4 as a domU
Hi all,
Few days ago I installed a CentOS 5 domU on a xen-box with CentOS 5 dom0
also. All worked fine; I used virt-install assistant and I created a
local http repo for increase the process speed.
I've tried to do the same with CentOS 4.4 domU, but always I get an
error relationated with unavailable HTTP resource.
It's curious... so I downloaded the x86_64 complete DVDs for 5 and 4.4
releases and I put all their containts into a local http server. I've
not any problem when I use the http://local_ip/5_repo/ resource, but I
always get the commented error if I use the...
2007 Sep 03
7
relationing has_many, belongs_to
Hello, i want to know if i am relationing fine, because i am having
problems,i have 2 models, one for members and other to relate some
members to this:
class Member < ActiveRecord::Base
has_many :matrix, :foreign_key=>:parent
end
class Matrix < ActiveRecord::Base
set_table_name :matrix
set_primary_key :userid
belongs_to :member, :foreign_key=>:userid
acts_as_tree