search for: useropt

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

Did you mean: userop1
2008 Dec 11
1
Meetme realtime table structure
...fault '0', `recurInterval` int(10) unsigned default '0', `members` int(11) NOT NULL default '0', PRIMARY KEY (`bookId`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=145 ; Conference work fine but without possibility to manage OPTIONS. Neither adminOpts nor UserOpts does not work. All other fields such as PINs, conference nomber, startime etc works fine. I think that the problem is in the database table format. I try to look to the source in C but really not competitive in programming. I chahged field type to varchar(28) etc, I tried reccord values in 'va...
2006 Jul 28
2
ActiveRecord design question
...ble. The problem is that I will probably have a lot of user set options. I did not want to add 20-30 fields to the user table so I created a user_options table: =============================== class User < ActiveRecord::Base has_many :user_options end =============================== class UserOption < ActiveRecord::Base belongs_to :user end =============================== Unfortunately this does not give me what I want. My problem is the following: I would like to be able to reference the user_options like this: user = User.find(:first) user.user_options[:key] => this would r...