Displaying 14 results from an estimated 14 matches for "shoudn".
Did you mean:
shouldn
2006 Mar 03
1
arrays in model objects
...del object like
def MyModel
attr_accessor :property
def initialize
@property = Array.new
end
end
when it is used for for interaction by "@object = MyModel.new" and then
used in view as
<%= text_field ''object'', ''property'' %>
shoudn''t it be rendered as?:
<input type="text" name="object[property][]"/>
that is with [] at the end so params[:property] will gain array?
--
Kamil
2006 Mar 17
1
[noob] params vs query string
...aren''t the paramaters I''m passing in
the params array? If I print out params I can see that the controller
and action are in there, but the one paramter I passed in the initial
url isn''t. I can parse response.query_string myself to get it, but it
feels like that shoudn''t be necessary. Is there a better way to get this?
More generally, has anyone done this sort of authentication. There
isn''t any important information in the cookie really. I just want to to
verify that the user has a valid login cookie from the other system. Is
there a...
2016 Feb 02
3
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...local user named "administrator" in /etc/passwd
administrator:x:1039:100::/home/administrator:/bin/bash
There was a username-mapping in /etc/samba/smbusers
#!root = MYDOMAIN\Administrator MYDOMAIN\administrator Administrator
administrator
I have changed this two month ago, because that shoudn`t be needed.(?)
Domain-Administrators UID in "aduc" is "10000" -is this korrekt?
In my nt4-domain the domain-administrator was mapped to root and the rid "500"
was assigned to root
Maybe this is missing now?
Do i have to assign this again?
Thank you
Markus
2004 Jul 24
5
HTB classifying
I am trying to shape a client (somewhat advanced).
This is my target:
Client is 192.168.2.224. I would like to allow him to download with
500000 bits/sec in general. But, for a specific port(say 22), i would
like him to download with 300000 bit/sec only. The problem is that my
configuration (maybe wrong) allows him to download with 800000 bit/sec.
(500000 generally + 300000 on port 22)
I thought
2009 Feb 18
4
expire_fragment with memcached
Hello all,
We know that memcached or memcached-client doesn''t support regex... But
It seems it doesn''t support expire_fragment either :/
I''m trying to use expire_fragment with memcached as following :
expire_fragment(:controller => ''home'', :action => :list_posts)
But apparently it''s not supported by memcached :
RuntimeError (Not
2006 Feb 27
0
status = 200 something wrong???
...od -> that returning data. I use
AJAX to call first method, then Ajax request is redirect to
second method and the second method return data which i can use.
And afterall I get status 200 from xmlHttpResponse object. Is it
right? Because I called url that redirect my request to other url
so shoudn''t I get 302 code? How can I identify does the AJAX call
was redirect or not if I always get status code 200? I try using
function onFailure or onException but Ajax object ALWAYS calling
(ajax method) onSucces and when I checked status there is always
200. Can someone help me?
Gregor...
2016 Feb 02
0
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...administrator" in /etc/passwd
> administrator:x:1039:100::/home/administrator:/bin/bash
> There was a username-mapping in /etc/samba/smbusers
> #!root = MYDOMAIN\Administrator MYDOMAIN\administrator Administrator
> administrator
> I have changed this two month ago, because that shoudn`t be needed.(?)
> Domain-Administrators UID in "aduc" is "10000" -is this korrekt?
>
> In my nt4-domain the domain-administrator was mapped to root and the rid "500"
> was assigned to root
> Maybe this is missing now?
> Do i have to assign this again?...
2006 Jul 04
15
Newbie DomU problem
Suse 10.1 AMD64 Xen3
New to Xen. The dom0 is up and running. I am trying to get my first domU
working. My approach is to use precompiled images from jailtime.org.
After some manual tinkering with the .cfg file the domU proceeds to boot
but stalls with the following error.
I cannot get past this - any ideas ?
Brian
Using config file "/etc/xen/vm/vm1".
Started domain vm1
Bootdata ok
2016 Feb 01
2
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
Hi at all,
i´am using samba 4.3.4 as "ad", "migrated by classicupgrade" some time ago
from an nt4-domain.
By trying
samba_upgradedns --dns-backend=BIND9_DLZ
i get the following error:
Traceback (most recent call last):
File "/usr/sbin/samba_upgradedns", line 262, in <module>
paths, lp.configfile, lp)
File
2016 Feb 02
1
samba_upgradedns returned an error "Unable to find uid/gid for Domain Admins "
...in /etc/passwd
>> administrator:x:1039:100::/home/administrator:/bin/bash
>> There was a username-mapping in /etc/samba/smbusers
>> #!root = MYDOMAIN\Administrator MYDOMAIN\administrator Administrator
>> administrator
>> I have changed this two month ago, because that shoudn`t be needed.(?)
>> Domain-Administrators UID in "aduc" is "10000" -is this korrekt?
>>
>> In my nt4-domain the domain-administrator was mapped to root and the
>> rid "500"
>> was assigned to root
>> Maybe this is missing now?
>>...
2006 Jan 23
4
ActionRecord: how to update many records in one statement
Hello,
I am trying to edit and update all records of table ?intersts? (id,
name, description) on one page and has no good idea how to do it right,
when updating one record per page it?s ok The question is: what
statement instead Interest.update_all(params[:interest]) in controller
need to use to successfully update the database table by data passing to
controller in parameter ?interest??
2007 Aug 23
5
Help about a QoS configuration
Hi, I would like to make a QoS configuration on a linux based dsl router. It
is for a server, so I want to shape outgoing traffic, incoming traffic
should not be a problem as long as I have a quite assymetric connection. I
would like to achieve the following goals:
1) To have one class (p2p) having all the available bandwith if there is no
activity on other classes.
2) If another class (ftp
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
...ing data. I use
> AJAX to call first method, then Ajax request is redirect to
> second method and the second method return data which i can use.
> And afterall I get status 200 from xmlHttpResponse object. Is it
> right? Because I called url that redirect my request to other url
> so shoudn''t I get 302 code? How can I identify does the AJAX call
> was redirect or not if I always get status code 200? I try using
> function onFailure or onException but Ajax object ALWAYS calling
> (ajax method) onSucces and when I checked status there is always
> 200. Can someone he...
2007 Sep 25
13
Session cookies not passed on first redirect
Hello Campers!
Is it just me or does Camping init the session twice on a redirect?
If I have an app and when the user visits it for the first time, a
session is generated. Afterwards I redirect the user in a service
(that basically does auth) and he gets bounced to the login page -
but when I arrive at the login page my SID somehow has changed :-( so
there is a stale session dangling