Displaying 6 results from an estimated 6 matches for "my_url".
Did you mean:
my_ur
2017 Feb 03
1
Samba standalone + openldap
...pe b (user3, user4, etc ..)
+ groupe c (user5, user6, etc ..)
+ etc ...
o ou=Users
+ user1
+ user2
+ etc ..
o ou=other_branch
+ user4
+ user5
+ etc ...
# smb.conf
passdb backend = ldapsam:ldap://my_url:port
ldap suffix = dc=my_domain,dc=com
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
#ldap machine suffix = ou=Computers
#ldap idmap suffix = ou=Idmap
ldap admin dn = cn=superuser,dc=my_domain,dc=com
ldap ssl = off
# /etc/...
2006 Jul 28
2
string replacement?
Hello,
What is the best method to replace a substring within a string?
I''m trying this:
url.gsub(string_to_replace,replacement)
but i get the following error:
undefined method `rewrite'' for #<String:0x3711a58>
--
Posted via http://www.ruby-forum.com/.
2006 Feb 16
1
Some questions about Ajax.Updater
Hi everyone,
I''ve been thinking of actually getting rid of the Rails javascript tag
helpers, and making calls to the prototype library directly from the
javascript functions that I made, however there are some bits that I
don''t quite seem to get...
Does this method block until it completes? As in, suppose I use it in a
block of javascript, will the code that''s
2009 Mar 23
0
URL-encoding and decoding on Rails
I have a URL parameter that has special characters on it, so I do URL
encoding as such:
my_url(:email => CGI.escape("someemail+extension-O5WfVfzUwx8@public.gmane.org")
Now, I would expect to call a CGI.unescape(params[:email]) on the
action receiving this parameter, and this is true according to my
functional tests.
But when I tested this on the browser, it failed because, app...
2007 Dec 03
8
automatic 'verify :xhr => true' for methods ending with _xhr
hey guys,
i am writing a couple of actions which are only used with an xhr. I
''protect'' them all against a direct access with the ''verify'' method in
the controller
verify :only => ..., :xhr => true
it would be cool if the system would automatically recognize the xhr
actions and protect them ... i want to postfix methods with ''_xhr'' and
2008 Jul 21
6
form_for and select ( => f.select)
Hi All
I''m trying to combine the from_for and select helpers
Right now I have
form_for :service, :url => ...... do |f|
select("abc", "xyz_id", @my_arr.collect {|item| [ item, "bla" ] },
{:prompt => "opt1"} )
....
end
What I want to do is something like
....
f.select("abc", "xyz_id", @my_arr.collect {|item|