Displaying 20 results from an estimated 2265 matches for "membership".
2006 May 16
1
:conditions on has_one realationship
Hi there,
I''m currently building a membership application and I want to be able
to select, not just all the memberships, but the most current
membership from the database on a per user basis. I have linked the
tables as shown:-
class Membership < ActiveRecord::Base
belongs_to :payment
belongs_to :person
end
class Person <...
2006 Aug 03
4
Map a resource that is a join model
How should you map resources that are join models like Memberships?
Lets say have you have Members and Groups that are joined through
Memberships.
map.resources :members do |members|
members.resources :groups do |groups|
groups.resources :memberships
end
end
This doesn''t seem right.
It would be nice to access all members, groups, a...
2006 Jul 10
2
problem in my code
Dear R-users
I wrote a small program for assigning a membership
Here is my script
sample.size <- 60
x <- rnorm(sample.size, 0, 1)
y <- rnorm(sample.size, 0, 1)
x.mean <- mean(x)
y.mean <- mean(y)
membership <- numeric(sample.size)
for (i in 1:sample.size)
{
if ((x[i] < x.mean) && (y[i] < y.mean))
{...
2006 Jul 26
3
Polymorphic Association with Single Table Inheritance?
Hello,
is it possible to setup a model/table schema like this:
Groupable --> Membership <-- Group
^ ^
| |
User UserGroup
I tried the following but failed:
Groupable (table with ''type'' column)
has_many :memberships, :as => :groupable
has_many :groups, :through => :membershi...
2006 Jul 26
8
team captain - habtm w/has_one...
the below...
class User < ActiveRecord::Base
has_and_belongs_to_many :teams
class Team < ActiveRecord::Base
has_and_belongs_to_many :users
has_one :captain, :class_name => ''User''
produces the error...
Mysql::Error: Unknown column ''users.team_id'' in ''where clause'': SELECT *
FROM users WHERE (users.team_id = 1) LIMIT 1
i
2007 Nov 24
12
orphan habtm rows
HI,
i use models User and Groups connected with many to many association, so
i have users table, groups and groups_users.
lets say i create one user and one group. next i add a group to user. so
now my table groups_users has one entry i.e.
group_id | user_id
_________|________
1 | 1
ok, when i delete both my group and user, above entry is not deleted,
thus leaving alone without
2023 Feb 15
2
2023 X.Org Foundation Membership deadline for voting in the election
The 2023 X.Org Foundation elections are rapidly approaching. We will be
forwarding the election schedule and nominating process to the
membership shortly.
Please note that only current members can vote in the upcoming election,
and that the deadline for new memberships or renewals to vote in the
upcoming election is 26 March 2023 at 23:59 UTC.
If you are interested in joining the X.Org Foundation or in renewing
your membership, please visi...
2013 Feb 05
1
Samba4 4.0.3 classicupgrade - Error converting string to value for line: "CurrentVersion"
...g account c062$ which had both ACB_NORMAL (U) and ACB_WSTRUST (W)
set. Account will be marked as ACB_WSTRUST (W), i.e. as a domain member
Fixing account c061$ which had both ACB_NORMAL (U) and ACB_WSTRUST (W)
set. Account will be marked as ACB_WSTRUST (W), i.e. as a domain member
Ignoring group memberships of 'c065$'
S-1-5-21-2959502491-3316882024-2455323705-3438: Unable to enumerate group
memberships, (-1073741596,NT_STATUS_INTERNAL_DB_CORRUPTION)
Skipping wellknown rid=500 (for username=root)
Ignoring group memberships of 'c047$'
S-1-5-21-2959502491-3316882024-2455323705-3000: Un...
2019 Nov 01
2
Individuals interested in VESA memberships?
Hi! Recently I've been working with the rest of the X.Org board to try to get
X.org access to VESA memberships so that contributors that don't have an
employer who is able/willing to join VESA can potentially get access to the
various benefits of a VESA membership, such as access to DisplayPort
specifications. Since I need to gather a list of interested X.org members, I'd
like to know who all might...
2005 Sep 25
12
Browsercam.com Annual Membership
I have been using browsercam.com for CSS testing, but it is rather
expensive. Recently, I discovered others using funadable.org to
purchase a yearly membership as a group.
A year long membership at browsercam.com costs $480.00. This gives us
25 user accounts. I am proposing that 25 people throw in $19.20 for
their 1/25th share of the membership cost. Once I have raised $479.40
I will purchase the annual membership and setup an account for all
the...
2004 Sep 07
1
Problems with 'ntlm_auth --require-membership-of' using Samba 3.0.6
Hi there,
I'm trying to configure Squid to use a windows domain for
authentication, and all goes well until I add the
"--require-membership-of" option on ntlm_auth. I need to restrict
access based on group membership, however ntlm_auth does not seem to be
behaving correctly. I'm using Samba 3.0.6 on Debian and I'm using a
Windows 2000 (SP4) Domain Controller. I configured winbind as discussed
here: http://www.squid...
2017 Sep 25
4
Winbind group membership not updating
We are currently in the process of replacing some of our file servers
with Active Directory joined Samba servers. However, during testing we
have noticed behaviour that has caught us off guard.
Changes in user group membership in AD do not show up on our file
servers. Specifically, changing a user's groups in AD won't affect group
membership on the Samba server once the user has authenticated. Even
killing their processes won't.
This is a problem, as once a client has established a connection to a
share,...
2008 Sep 16
3
has_one :through eager-loading problem
I have a problem with the :include option in find for my
has_one :through association.
I have Users, Profiles and Customers, all connected to each other with
a has_one :through => :membership association like this:
class Profile < ActiveRecord::Base #could also be user or customer
has_one :membership # i saw an acrticle of Ryan about
has_one :through, there this would be has_many, is this wrong?
has_one :user, :through => :membership
has_one :customer, :through => :memb...
2018 Jun 15
4
Passwords in plain text
...l from this group? Which came with my password in the email in plain text?
Begin forwarded message:
> From: centos-request at centos.org
> Date: June 15, 2018 at 12:31:04 PM EDT
> To: rjcdevelop at gmail.com
> Subject: confirm a8e9e592b9d81e13e569ffa9f6f4267c3f2a8fe8
>
> Your membership in the mailing list CentOS has been disabled due to
> excessive bounces The last bounce received from you was dated
> 15-Jun-2018. You will not get any more messages from this list until
> you re-enable your membership. You will receive 3 more reminders like
> this before your members...
2008 Apr 21
1
Urgent ActiveRecord has_many Problem - Please Help
Hi Guys,
I''ve been looking everywhere for an answer to this but so far without
success.
I have three models:
1) employees
has_many :memberships
has_many :projects, :through => :membership
2) projects
has_many :memberships
has_many :employees, :through => :membership
3) membership
belongs_to :employees
belongs_to :projects
Membership is used to join employees to projects.
In my projects_controller I have a method c...
2008 Jan 08
1
howto rebuild a object from a received xml hash structure ?
im my web server app , i have an action to be used as a REST web
service
# GET /user/membership.xml?email=emailaddress
def membership
@user = User.find_by_email(params[:email])
respond_to do |format|
format.xml { render :xml => @user.to_xml( :only =>
[ :first_name, :last_name, :display_name, :membership_type, :membership_at], :skip_types
=> true)}
end
end
my c...
2015 Apr 26
2
Migration to Samba 4
...but then not
found: Unable to enumerate group members, (-1073741722,No such group)
========================================================
And problems with users (guessing these are tied to the group issues):
========================================================
Exporting users
Ignoring group memberships of 'skjidu'
S-1-5-21-1832519723-2688400599-3493754984-1158: Unable to enumerate
group memberships, (-1073741724,No such user)
Ignoring group memberships of 'ngoires'
S-1-5-21-1832519723-2688400599-3493754984-3010: Unable to enumerate
group memberships, (-1073741724,No such user)
Ig...
2017 Jun 30
2
User management scripts in AD mode...
...ia samba
In chel di` si favelave...
> > I'm again a bit confused... ;-(((
> Yes I can see that ;-)
;-)
Sorry for the late answer, but i was busy on other things...
> Hope this helps, but feel free to ask any questions.
I try to summarize:
a) as i supposed 'RFC2307 group membership' are totally ignored by
samba, so i can use RFC2307 schema to associate UID to users and GID
to group, but the relation between UID and GID (eg, membership) in UNIX
are directly derivated by Windows membership only. Good.
b) changing ''primary'' windows group from 'Domain...
2018 Jan 31
3
netsamlogon_cache.tdb & winbind.
All,
I wonder if someone can give me an idea what the file "netsamlogon_cache.tdb" contains... as I have noticed that I can be added to a group, and access will not appear on the Unix side for a good deal of time... but if I stop Winbind, remove the file "netsamlogon_cache.tdb", and re-start everything, it will then work.
Can anyone tell me what the purpose of this file is,
2004 Jun 17
2
ldap + samba + group membership problem
...Group : "admin" and secondary groups : "software" +
"development" + "docs"
Now, in the "netlogon" global login script that I've made : SARTUP.BAT
I would like, to affect a drive letter for the user "joe" depending on his
"groups membership" so :
net use D: \\servershare\docs (joe is group membership of "docs")
net use F: \\servershare\software (joe is group membership of "software" too)
...
But I've noticed in the example script of source distrib. of SAMBA (genlogon.pl)
that there is the use of %G witch...