Displaying 5 results from an estimated 5 matches for "admin_id".
2002 Jan 02
0
Unable to use Samba in Win2K Domain
...ing = bsd
    security = domain
    time server = yes
    wins server = <WINS Server IP Address (Win2k box)>
    workgroup = CORP
I've been attempting to use the following command, run as root, to join
these hosts to the new Active Directory domain:
  # smbpasswd -r stadcl01 -j CORP -U admin_id
(this command worked perfectly to join these machines to our old NT domain).
Note that the "admin_id" shown above has rights that allow adding machines
to the new domain and had been used successfully to add other Windows-based
machines to the new domain.
When I attempt to run the smbp...
2006 Jan 08
1
Subclassing only a specific portion?
Hi,
 I''m sure there is an easy way to do this, but I just can''t see it:
 I have a large amount of rooms, that are for different purposes, and
for only one ''purpose'' do I want to create a specific subclass. Ex:
banquet,wedding,admin. I want to have additional information about
admin rooms.
 Trying to use the ''type'' field just gives an error
2006 Apr 25
3
belongs_to and has_many
...? Is it the field name minus the _id?
   :foreign_key is the key in the other table.
   :class_name is the name of the model of the other table.
------createtables.sql
CREATE TABLE admins(
  id INTEGER PRIMARY KEY,
  admin VARCHAR(32) NOT NULL,
);
CREATE TABLE machines(
  id INTEGER PRIMARY KEY,
  padmin_id REFERENCES admins(admin),
  sadmin_id REFERENCES admins(admin)
)
-------models/machine.rb------------
class Machine < ActiveRecord::Base
  belongs_to :padmin, :class_name => "admin", :foreign_key => "id"
  belongs_to :sadmin, :class_name => "admin", :foreig...
2005 Dec 27
2
NoMethodError in new scaffold
...ostype_id        | int(11)     | NO   |     |         |                |
| requeststatus_id | int(11)     | NO   |     |         |                |
| description      | text        | NO   |     |         |                |
| actiontaken      | text        | YES  |     | NULL    |                |
| admin_id         | int(11)     | NO   |     |         |                |
| wwid             | varchar(8)  | NO   |     |         |                |
| idsid            | varchar(8)  | NO   |     |         |                |
| name             | varchar(50) | NO   |     |         |                |
| email...
2009 Nov 17
5
has_many :through and foo.bars.include?
...in `include?''
        from (irb):3>>
however, when i reload that association before asking for admins it is
working:
>> g.admins
=> []
>> g.admins.include? User.last
=> false
same thing:
Group.first.admins.include? User.last
=> Exception (see above)
Group.first.admin_ids.include? User.last
=> false
I already checked will_paginate as it is mentioned in the trace. But
in my test-project i set up it is working perfectly with the above
code and will_paginate installed.
Has anyone ever seen a behaviuor like this? Any clues, hints or tipps?