Displaying 20 results from an estimated 300 matches similar to: "activeldap and migrations"
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me)
Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class
So I''m using...
app/assets/javascripts/people.js.coffee and put in...
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2012 Jan 05
8
js update partial missing template
PermissionsController
def add_member
...snip...
@permissions = Permission.all
respond_to do |format|
format.html {
flash[:messages1] = @permission.user.name + " has been given rights."
}
format.js
end
end
app/views/permissions/add_member.js.erb
$(''#privileges'').replaceWith("<%=
2007 Jun 06
1
ActiveLdap: no such file to load -- ldap (MissingSourceFile)
I just installed ActiveLdap, copied the plugin into vendor/plugins and
setup a config/ldap.yml file. Starting rails gives me an error that it
can not find the ldap source file. (I installed from the gem with its
prerequisites log4r, etc.)
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- ldap (MissingSourceFile)
2012 Mar 12
4
Help: Ruby Newbie Trying to Install on OSX 10.7.3
I entered in "rails" from the terminal prompt. Here is what I
got...... any help is appreciated
Last login: Sun Mar 11 15:26:54 on console
67-61-37-207:~ clesceri$ rails
Rails is not currently installed on this system. To get the latest
version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
67-61-37-207:~ clesceri$ sudo gem install
2006 Aug 15
1
ActiveLDAP
Is there any recent good guide on how to use ActiveLDAP?
Thanks,
Petr
--
Posted via http://www.ruby-forum.com/.
2011 Dec 13
1
continuous jquery partial update
Rails 3.1.x - jquery
drag_drop.js
$(function() {
$( "[id^=moveable]" ).draggable();
$( "#droppable2" ).droppable({
drop: function( event, ui ) {
$( this )
.addClass( "ui-state-highlight" )
$.post( "groups/add_member/", { "add": ui.draggable.text() }, function(data) {
2006 Apr 07
3
activeLDAP - ldap_mapping - wildcard
Hi,
I''ve a problem and I don''t know if it is solvable with activeLDAP. Here
is an example of the tree structure of our LDAP server. The structure
isn''t exactly like that, but is similare and I can already access almost
any informations of a user when I''m logging as this user. The probleme
come when using the belong_to, has_many and ldap_mapping has you will
2006 Mar 26
17
activeldap
Obviously I am missing something and I don''t know what it is...
I am following the instructions at
http://rubyforge.org/docman/view.php/381/114/activeldap_rb.html
and also here...
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap
my model looks exactly like this...
class LdapUser < ActiveRecord::Base
ldap_mapping :dnattr => ''uid'', :prefix
2011 Oct 11
1
recursive finds
I am trying to supplement and ultimately provide a patch for ''foreman'' which is an adjunct to puppet.
Essentially, there is a Hosts class which belongs_to Hostgroup and Hostgroup class has a column called ''ancestry'' which is actually a Hostgroup (probably what is referred to as STI but I am not sure) and thus within Foreman, nesting Hostgroups is not uncommon.
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
Anyone out there using ActiveLDAP have an idea how I can accomplish
creating an object one level below a known base where we have a variable
item in the middle?
That first sentence doesn''t even make sense to me. Here''s what I want
to do: I have a user class that I use for managing users. Each user
gets a ou called addressbook (which in turn will contain sub-entries,
but
2010 Dec 29
1
activeldap anyone using?
Someone use activeldap?
I''ve installad the gem but it seems to me that tha latest activeldap
version require rails 2.3.8.
I use rails 3.0.3 and don''t want to install version 2.3.8.
Is activeldap a old gem?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2005 May 01
4
using ActiveLDAP with Rails?
Now I''m a ruby nooby so be gentle...
I''ve gotten ActiveLDAP working from the command line, but buggered if
I can work out how on earth to integrate an ActiveLDAP object with a
bunch of ActiveRecord objects.
This is going to be possible right? I''m just going to have to build
the whole scaffold myself for these objects?
Just thought I''d check whether it
2006 Mar 05
2
ActiveLDAP maintain user connection
Hi, I''ve just started to do some work using ActiveLDAP and Rails. I''ve
managed to get some basic login code that works to authenticate users,
but I would like to be able to maintain that connection for the User
Model so that the ACL''s in LDAP for each user will be used correctly as
the various controller queries are made. I haven''t quite sorted out how
to
2006 Dec 13
0
activeldap setup help?
So I would like to use ActiveLDAP. I have been following along with
http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap .
I installed ruby-activeldap (0.8.0) from RubyGems, which also installed
log4r -- that all appeared to work. I then installed rubyldap from its
latest tar.gz. Also appeared to work fine.
But I''m stuck here. When I add
require
2006 Mar 10
5
ActiveLdap and windows.
I thought I might try to create a Rails app to use LDAP authentication.
Unfortunately, I can''t figure out how to get the Ruby/LDAP stuff working
in my environment (I''m using a windows server). If anyone out there has
experience with this, could you dumb it down a little bit for me?
--
Posted via http://www.ruby-forum.com/.
2006 Mar 06
1
ActiveLDAP handle uppercase attributes?
Does anyone know how to assign values to LDAP objects with upper cased
attributes? For example, you can normally do:
user = User.new(@user)
user.sn = params[:user][attr]
But what about the case where there is an attribute that looks like
OXTimeZone? You clearly can''t do:
user = User.new(@user)
user.OXTimeZone = params[:user][attr]
I''m trying to
2013 Feb 04
3
kill webrick process on OSX Lion {localhost:3000}
Hi Folks,
I have a simple question
When I have to stop the webrick server on my OSX Lion I use the follow
keyboard button:
Ctrl + Z
but after that I launch the command: "ps"
the webrick server is always active I have to kill the process with:
kill -9 [ID PROCESS]
exist a command to kill instantly the webrick server?
thanks,
C
--
Posted via http://www.ruby-forum.com/.
--
You
2006 Jul 21
6
pulling information from LDAP server using Ruby on Rails
Hello, I am currently working on a project using Ruby on Rails. So far,
I have a well-populated mySQL database the RoR refers to and the basic
scaffolding functions implemented. I also designed views/layouts that
furthers the basic scaffolding interface. No problem and no big
accomplishment by any means.
Now, I want to pull user information from an already existing LDAP
server and put that
2008 Jun 19
3
LDAP Authentication fails with ñ character in password.
Hi Guys,
I''ve got a rails application that uses activeldap to authenticate
users. Its been working great for about 6 months now, but a user from
mexico started using it recently, but can''t seem to login. I''ve
narrowed it down to the fact that his password contains a ñ character
in it. This problem is also present in a test user account I''ve setup.
ActiveLDAP