Displaying 20 results from an estimated 2000 matches similar to: "Form objects vs nested attributes in 1 to many association"
2016 Feb 01
1
samba member server
Configuration files are these, I'm using debian 8 and samba 4.3.2
kerberos
[libdefaults]
default_realm = VIRTUS.CU
dns_lookup_realm = false
dns_lookup_kdc = true
Samba
[global]
netbios name = radius
security = ADS
workgroup = CEDAI
realm = virtus.cu
log file = /var/log/samba/samba.log
log level = 1
dedicated keytab
2005 Sep 19
4
Rails vs. Cocoon
Hello all,
I''m hoping that someone out there in Rails-land has developed in both Cocoon
and Rails and would like to share their experiences using both application
frameworks.
I''m going to be doing a presentation in the next couple of days on the
advantages that Rails affords. The higher-ups are going to use this info on
deciding whether or not to move away from Cocoon and
2005 Oct 11
8
Sortable as a class?
Hi there!
My first post to this list, so first of all many thanks for the amazing
Scriptaculous library. I''m currently using it for some nice Ajax effects
in Apache Cocoon (http://cocoon.apache.org/).
I''m currently struggling with Sortable, which I would like to adapt as
the conventions used in Cocoon are different from those currently used.
Basically, I would like to send
2014 Apr 23
0
Select fields, Coffeescript and Cocoon
Hello,
I have select field which after a choice happened, feeds another select
field.
Using the gem Cocoon to duplicate this set of select fields.
My problem now is to find a solution that the coffee script supplies values
for each select field-set separately.
My code:
form
<%= render 'usergroup_fields', :f => usergroup %>
<%= link_to_add_association "Add
2006 Jul 05
2
Association Extensions
Hi,
I''m using an assocation extension as follows:
module RequestFinder
def open
find(:all, :conditions => "buyer_requests.closing_date > \''#{Date.today}\''")
end
def closed
find(:all, :conditions => "buyer_requests.closing_date <= \''#{Date.today}\''")
end
end
with the following ActiveRecord
class User
2010 May 27
4
[PATCH] Rails 3: fields_for helper doesn't work with association proxy objects
Request for eyeballs. :-)
Mongoid uses association proxy objects. It overrides #nil? => false
when the association is missing. However since it uses proxy
objects, !!assocation is always true.
I have created a ticket with a patch that changes the association nil
test to call assocation.nil? rather than use implicit coercion of the
variable.
See:
2008 Mar 18
2
Matching multiple nodes with a regular expression
Hello,
I''m setting up puppet on various clusters (tomcat, mysql, tomcat
+cocoon, etc) of computers, each of which has a hostname consisting of
the cluster type and a unique id (e.g. tc-dev-1, mysql-stg-3, etc).
I''ve been merrily adding each node by hand to puppet but being
naturally lazy I wondered if this could be done with a regular
expression instead, something along the
2007 Feb 09
0
cluster "non-diet", "diet" example.
Suppose, we have 3 people called: Francis, Cedric and Nina. Base on what
they have eaten, we want to cluster people by "diet", "non-diet".
# original data file, named as filename "food.csv".
Francis|potato
Francis|chocolate
Francis|chocolate
Francis|milk
Cedric|vegetable
Cedric|vegetable
Cedric|potato
Nina|potato
Nina|chocolate
Nina|chocolate
Nina|potato
# Step 1: I
2006 Jan 07
2
Bug#346350: logcheck-database: dhcp3-server ignores need to include (none ) client host name
Package: logcheck-database
Version: 1.2.39
Severity: normal
I use dhcp3-server and a dhcp client which is Sony HDD video recorder
CoCoon. The client not return client host name.
In this case, dhcpd server assumed the client host name is (none).
Therefor dhcpd output log described below.
> Jan 7 10:49:24 on-o dhcpd: DHCPDISCOVER from 08:00:46:33:55:77 ((none)) via eth0
> Jan 7 10:49:25
2006 Jun 01
0
OT but relevant to SMS
I know a lot of people on this list are involved in SMS and my apologies
to people outside of the USA but for those of us involved in this space
it's been long overdue.
Great news today!! Neustar have finally released the long awaited 6
digit Common Short Codes (CSC's) and is now in a position to accept your
order to secure the 6 digit shortcode that best reflects your company's
2010 Sep 10
1
Save R-Part Tree
Hello,
I have some Data, that I analyse using a regression tree (by using rpart).
Now I would like to save this tree to a file for later use, and load it (not necessarily in the same workspace). It would be most preferrable, if I could just save some parameters (later probably to a database) and load them again to reform the tree.
Is this possible? And if yes, how?
Thanks in advance
2012 Jul 29
1
Dovecot Director behaviour when two or more fail
Hi,
On the Dovecot wiki here http://wiki2.dovecot.org/Director it says the
following:
"The directors are going to connect to each others in a ring. For
example if you have servers called A, B and C, director will create
connections A->B, B->C and C->A"
I am curious what happens in a scenario when two or more directors fail
and potentially break a ring in half, do the
2005 May 04
1
Questions about the intersection area under two kernel densities
Hi there,
I am working on a project which needs the value of the interaction area under two distributions( eatimated by kernel density estimators).
For example:
x<-rnorm(100,0,1)
y<-rnorm(100,0.2,1)
density(x) # This produces the summary of dependent variable and independent variable.
How can I get the individual values of variables and reform a curve to calculate the area under
2009 Mar 29
2
re form data for aov()?
I have data in a file named hands.dat, which is given at the end of this
question. (It's from a stats textbook example on anova). I'd like to do an
aov on this, which I guess would be
d <- read.table("~/hands.dat", header=TRUE)
aov(Bacterial.Counts ~ Water + Soap + Antibacterial.Soap + Alcohol.Spray,
data=d)
but this fails. Do I need to break d$Method up into columns for
2012 Dec 01
0
[LLVMdev] [RFC] "noclone" function attribute
On 12/1/2012 10:02 AM, James Molloy wrote:
>
> I'm proposing a new function attribute, "noclone", with the semantics that "calls to functions marked "noclone" cannot be cloned or duplicated into the same function.". That is, it is illegal to call J = I->clone() then attach J to the same basic block as I if I is marked "noclone".
The class Loop
2008 Nov 28
1
confidence interval for glm
Hi all,
simple Q:
how do I extract the upper and lower CI for predicted probabilities
directly for a glm - I'm sure there's a one line to do it but I can't find
it.
the predicted values I get with the predict (.. "response")
Thanks
Gerard
**********************************************************************************
The information transmitted is intended only for
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi,
I''m currently running an apache/jboss cocoon/flow/hibernate/ajax
paypal (directpayment) project and am looking into the possibility of
porting it across to ruby/rails. For that reason I would like to know
the following:
1. Can I call my java classes or would I be looking at a complete
rewrite in ruby?
2. How effective is ruby in terms of seperation of concerns regarding
design from
2006 Feb 11
0
html question
Just to show my versatility in things that I don''t understand, I''m
struggling with ''printing'' html and I don''t exactly know how to handle
this. On screen...I have no problems but print preview - I have a
problem
Consider 2 layers defined in <head>
#layer1 { height: 118px; width: 100px; left: 36px; top: 20px; position:
absolute; visibility:
2011 Oct 05
0
Internship Opportunity at New York financial weekly
It's not too early for statistically-adept students to think about underpaid, but life-altering, internships for the summer of 2012. In fact, after November 1st it may be too late to apply here at Barron's. This will be the second summer we've offered paid internships, which means that applicants can now poll the hapless folks who interned this past summer. Contact me, Bill Alpert, and
2010 Aug 17
1
Is Samba supposed to work like this?
I have Samba 3.0.33-3.28.el5 running on a CentOS 5.5 server. The samba
server is added as a Member server of our Windows 2003 AD, and winbind is
working OK.
I have a question about the assigning of permissions via the Windows XP
file/folder properties dialog.
My background is mainly in Windows, but I do grasp the concept of UNIX
file permissions. When I attempt to modify the permissions on