Displaying 4 results from an estimated 4 matches for "membertyp".
Did you mean:
membertype
2006 Feb 07
1
displaying foreign keys help request
...removed
end
My question is that I want to add a new member, with the member_types as
a select list. Obviously, when I add the member to the database, I will
want to add the id, rather than the actual member_type.
In app/views/admin/new.rhtml, I have this (snippet from table add):
@mt = MemberType.find( :all, :order => "info" )
select( :member_type_id, :member_type, @mt )
Which returns the correct number of rows, but of Object IDs, rather than
the info strings.
Clearly I haven''t got it right. I am pretty sure that this would be a
FAQ, though I am not able to f...
2011 Sep 09
3
Can't add users to well known groups...
I created the well known group Domain Admins pointing to a local group,
but I am not able to add users to the group -- it claims I can only add
users to
local or global groups...
But I only see local, domain ,well-known, builtin.
There are no global groups unless one would include all groups that are
not local (i.e. domain, well-known, and builtin)....
So why doesn't it want to let me add
2006 Feb 07
0
newbie -- displaying foreign key
...removed
end
My question is that I want to add a new member, with the member_types as
a select list. Obviously, when I add the member to the database, I will
want to add the id, rather than the actual member_type.
In app/views/admin/new.rhtml, I have this (snippet from table add):
@mt = MemberType.find( :all, :order => "info" )
select( :member_type_id, :member_type, @mt )
Which returns the correct number of rows, but of Object IDs, rather than
the info strings.
Clearly I haven''t got it right. I am pretty sure that this would be a
FAQ, though I am not able to f...
2006 May 12
2
Has many through join table issues
...l
advisors, investors will be subcategories (with lots of members).
I''m using a join table between members and categories to build the
associations between members and the category.
class MemberToCategory < ActiveRecord::Base
belongs_to :members
belongs_to :categories
end
class MemberType < ActiveRecord::Base
has_many :member_to_categories
has_many :members, :through => :member_to_categories
class Member < ActiveRecord::Base
has_many :member_to_categories
has_many :member_types, :through => :member_to_categories
My problem is two-fold.
1. When the visitor sel...