Displaying 20 results from an estimated 8221 matches for "facility".
2006 Feb 23
4
looping
I have a form that prints fine for one particular criteria...
facility_id = "X"
controller code looks like this...
def fac_log
@facility = Facility.find(params[:report][:facility_id])
@placement = Placement.find(:all,
:conditions => [ "facility_id = ? and discharge_date IS NULL,
params[:report][:facility_id] ]
)
end...
2006 May 17
5
select list
...39; table which has all the outpatient facilities but
I need to add ''Float'' and ''Main Office'' which I don''t want to add to the
''facilities'' table itself.
so I figure I can add these to an array created by...
def fac_list
@fac_list = Facility.find(:all) + [''Float'', ''Main Office'']
end
and I get an array of the facilities that I need but I can''t figure out
how to get this into a sorted list so I can pick this value in my view
code...
<%= options = [[''Select a Facility'', &...
2018 May 11
4
vfs_full_audit and facility 'auth'...
On Fri, 11 May 2018 09:14:24 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
> Mandi! Rowland Penny via samba
> In chel di` si favelave...
>
> > You would replace 'FACILITY' with one of the facilities shown in
> > 'man syslog' e.g. full_audit:facility = LOG_AUTH
>
> OK, done. But samba (as stated in previous email) still reply:
>
> [2018/05/08 17:34:42.388486,
> 0] ../source3/param/loadparm.c:1179(lp_enum) lp_enum(LOG_AUTH,enum):
&g...
2006 May 18
6
NOOB: Second post, please help...
Folks,
I am linking from page A to page B, and back again. When I go from A -> B, the B_controller.rb runs fine, and the page renders properly. But, when I go from B -> A, the A_controller.rb doesn''t run again, so the array (@A) is nil (which causes a problem).
Should the controller run each time the page is accessed? Any ideas?
Marcus
Marcus Blankenship
Technology Services -
2018 May 10
2
vfs_full_audit and facility 'auth'...
On Thu, 10 May 2018 15:31:23 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> > > >From 'man vfs_full_audit'
> > >
> > > full_audit:facility = FACILITY
> > > Log messages to the named syslog(3) facility.
> > >
> > > See 'man syslog' for the 'facilities' you can use.
>
> > [2018/05/08 17:34:42.388486,
> > 0] ../source3/param/loadparm.c:1179(lp_enum)
> > lp_enum(...
2018 May 08
2
vfs_full_audit and facility 'auth'...
Mandi! Rowland Penny via samba
In chel di` si favelave...
> >From 'man vfs_full_audit'
>
> full_audit:facility = FACILITY
> Log messages to the named syslog(3) facility.
>
> See 'man syslog' for the 'facilities' you can use.
[2018/05/08 17:34:42.388486, 0] ../source3/param/loadparm.c:1179(lp_enum)
lp_enum(LOG_AUTH,enum): value is not in enum_list!
;-)
--
dott. Mar...
2008 May 29
2
Resource routing error with the route equipment/new
I''m having an issue with resource routing after running a "ruby
script/generate scaffold equipment" command. I did not make any changes
to the equipment model/controller/views after running this.
The full command I ran (all one line) ...
ruby script/generate scaffold equipment
name:string description:text contact:text keywords:string
created_at:datetime created_by:integer
2018 May 08
2
vfs_full_audit and facility 'auth'...
I've tried to setup VFS full audit facility in some share, like:
vfs objects = [...] full_audit
full_audit:prefix = %S|%d|%I|%M|%u
full_audit:success = mkdir rmdir read pread write pwrite rename unlink
full_audit:failure = none
full_audit:facility = auth
full_audit:priority = info
but samba refuse...
2018 May 11
0
vfs_full_audit and facility 'auth'...
...Penny via samba <samba at lists.samba.org>
wrote:
> On Fri, 11 May 2018 09:14:24 +0200
> Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> > Mandi! Rowland Penny via samba
> > In chel di` si favelave...
> >
> > > You would replace 'FACILITY' with one of the facilities shown in
> > > 'man syslog' e.g. full_audit:facility = LOG_AUTH
> >
> > OK, done. But samba (as stated in previous email) still reply:
> >
> > [2018/05/08 17:34:42.388486,
> > 0] ../source3/param/loadparm.c:1179(lp_enum...
2009 Jun 03
1
Install suse11 on redhat5, thanks for help!
.....230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...<6>Uniform Multi-Platform E-IDE driver
SCSI subsystem initialized
st: Version 20080504, fixed bufsize 32768, s/g segs 256
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
Non-volatile memory driver v1.2
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
EDD information not available.
NET: Registered protocol family 1...
2006 Feb 18
1
sql logic is killing me
I know my thinking is sloppy.
I want to know how many clients currently in my facility are male...
My facilities_controller.rb
def list_fac
@placement_pages, @placements = paginate(
:placements,
:conditions => ["placements.facility_id = ?",
params[:facility_id] ],
:include => [:facility, :client],
:order_by => ''faci...
2010 Jul 12
2
Question about food sampling analysis
...and secondarily about R. I have just started a new job that
(this week, apparently) requires statistical knowledge beyond my training
(as an epidemiologist).
The problem:
- We have 57 food production facilities in three categories
- Samples of 4-6 different foods were tested for listeria at each facility
- I need to describe the presence of listeria in food (1) overall and (2) by
facility category.
I know that samples within each facility cannot be treated as independent,
so I need an approach that accounts for (1) clustering within facilities and
(2) the different number of samples taken at each...
2010 Jun 27
17
Variable Scoping = Root Canal
...three different aspects of a node, being physical location,
operating system, and function. If I try and do this with classes, I
find that variables set in a class included from a node, are not
visible to other classes included from that node.
node ''node1.fr.xxx.com'' {
include facility::sjc
include ldap::client
}
In this example, variables defined in facility::sjc are not visible in
ldap::client (in this case, it would be the IP address of the local
LDAP server).
Another approach is to do everything with node inheritance, but in
order to model these three functions, you end u...
2000 May 29
1
Syslog facility in Linux
Hi !
While browsing Linux manpages (man 3 syslog) I noticed that the manual
says that the LOG_AUTH facility is deprecated use LOG_AUTHPRIV instead.
Is there a good reason why OpenSSH doesn't have an option to use
LOG_AUTHPRIV facility ? (Looks like that tcpd/telnet etc. use the AUTHPRIV
facility (in RH6.2)).
Shouldn't be too hard to add the AUTH_PRIV facility ?
Cheers,
-Jarno
--
,,,,...
2014 Oct 27
1
winbind winbindd remote desktop
...name resolve order = wins bcast hosts
server string = Samba Server
security = user
server role = active directory domain controller
netbios name = SAMBA
disable netbios = no
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
workgroup = FACILITY
password server = samba.facility.local
realm = FACILITY.LOCAL
client ldap sasl wrapping = sign
winbind separator = /
winbind enum users = yes
winbind enum groups = yes
winbind expand groups = 1
winbind nss info = rfc2307
winbind nested groups = yes
winbind offline logo...
2006 Feb 28
2
sorting collection lists
I''m using collection.select lists and I would love to sort them by one
or two of the columns as the lists are getting long enough to make a
difference.
<%= options = [[''Select a Facility'', '''']] + @facility.collect {
|fac| [fac.name, fac.id] }
select ''placement'', ''facility_id'', options %>
how do I get this to order by facility.name ?
Craig
2006 Mar 20
16
logic inside a view file
I am quite certain I have heard it said not to put business logic inside
view code but I have a report that I want to display 3 different
possibilities of text based upon the value of a column. Would I just
take the same type of if/then logic that I would use in a controller and
put it inside erb <%= %> stuff?
Craig
2014 Oct 29
1
samba ssh change password Error was: Wrong password
passwd: Authentication token manipulation error
smbpasswd: machine 127.0.0.1 rejected the password change: Error was :
Wrong Password
best regards
[FACILITY/btombul at samba ~]$ passwd
Changing password for user FACILITY/btombul.
Changing password for FACILITY/btombul
(current) NT password:
New password:
Retype new password:
passwd: Authentication token manipulation error
[FACILITY/btombul at samba ~]$ smbpasswd
added interface ens192 ip=10.0.20.4 bca...
2006 Mar 16
32
iterating a partial with :collection
...nd Collections'' (rather sparse info
there too) and I might add that the wiki page on this topic is entirely
devoid of any info...be that as it may...
I have hash of several arrays that I want to iterate though and display.
the first hashed element looks like this (greatly simplified)
- :facility: !ruby/object:Facility
attributes:
name: Toby I
beds_a: "12"
beds_m: "12"
id: "1"
beds_f: "12"
:placements: []
My view code (fac_log_all_test) is a one liner...
<%= render :partial => ''fac_log_test'...
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''facility::sanjose'' of type
hostcla...