similar to: updating multiple records with form

Displaying 20 results from an estimated 6000 matches similar to: "updating multiple records with form"

2006 Jul 07
2
many-to-many error
hey all. I''m trying to set up a many-to-many relationship with products and categories. I''ve got the product model (product.rb) set up: class Product < ActiveRecord::Base has_and_belongs_to_many :categories end and a similar one for category.rb And I''ve got the tables set up -- products, categories, categories_products But when I load, I get: undefined method
2013 Feb 06
2
[XCP] recompiling xapi rpm changes version and licensing details.
Hi there. I needed to recompile xapi to fix a bug that was resolved regarding vdi-create not setting the sharable flag. I used the sources provided in the source-1.iso from xen.org. Everything is good in this regard, and creating a vdi that has "sharable=true" is possible, but I had a problem that forced me to revert to the older copy of the xapi binary because my XCP box was now being
2006 Apr 18
1
''wrong number of arguments'' for text_field?
This is probably something very simple but I can''t seem to figure out why I keep getting the ''wrong number of arguments (1 for 2)'' error with the following code when I try to create a new record. If anyone can see what is going wrong here please help! new.rhtml ------------------------------------------------- ... <%= start_form_tag :action =>
2008 Aug 24
3
R project web site
Is anyone else encountering trouble viewing the basic www.r-project.org page? Or has it been changed recently so that google hasn't kept up? I find I can access the mirror of the CRAN page at http://www.maths.bris.ac.uk/R/, none of the *.org pages. Nor can I jump to the R homepage from the CRAN mirror. JWDougherty
2005 Feb 28
5
Using session data in model
Hi, I want to use my some session data when I validate som data in the model. The specific problem I have is that I present different forms data based on gender, and then dependent of the gender, there''s different fields that needs validation. I''m wondering what''s the preffered way of doing this. The session data is not present in the model, i.e: class Myclass
2011 Oct 26
6
Add an index to a form
Hello, I''m having some trouble with forms, my app allows to enter data by using a multi-step form that has 7 steps. There are 3 steps that may let the user to add 1 form, for example there''s a step called "children" and that children has the following fields: * name * age * gender but one father may have more than 1 child and I''m adding another form with
2008 May 25
1
marginality principle / selecting the right type of SS for an interaction hypothesis
Hello, I have a problem with selecting the right type of sums of squares for an ANCOVA for my specific experimental data and hypotheses. I do have a basic understanding of the differences between Type-I, II, and III SSs, have read about the principle of marginality, and read Venable's "Exegeses on Linear Models" (http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf). I am pretty new to
2008 Dec 24
1
Using SPSS Labels
I am trying to import a SPSS.sav file into R. The attached file is not technically the file I am trying to import, but does replicate my problem. The actual file is much too large to attach. No matter what I do, I can not get R (base or Hmisc) to apply the value labels in the .sav file to the dataframe created in R. Here's the code that I am using. maine <- spss.get("test.sav") #
2009 Sep 18
1
Within-group correlation confidence intervals
I'm trying to obtain within-group correlations on a subset of variables. I first selected my variables using the following command: mydata$x<-mydata[c("iq","education","achievement")] I'd like to look at correlations among those variables separately for men and women. My gender variable in mydata is coded 1 (women) and 0 (men). I have successfully used
2003 Nov 18
2
Compiling R
I have a generally successful compiled R 1.8.0 version installed on a SuSE 9.0 system. One frustration however is that the basic keyboard functions of BASH have not completely carried through and the up, down, left and right arrow keys don't behave as they do on the regular shell command line. That is no command history can be accessed and the cursor cannot be back-spaced over a
2009 Apr 07
2
newbie query: simple crosstabs
I've been playing around with various table tools, trying to construct a fairly simple cross-tab. It shouldn't be hard, but for some reason it turning out to be (for me). If I want to see how many men and how many women agree with a agree/disagree question (coded 1,0), I can do this: >attach(mydata) >mytable <- table(male, q1.bin) # gender and a binary response variable
2012 Feb 10
2
Discrete Event Simulation problem
Hi All, I am attempting to simulation an inventory model on R and I am having some problems. I believe the problem is when I define my demand rate is stays constant throughout so when I do need to reorder the model does not recognise it as I have the initial supply arrival time set to infinity at the start as no order has been played but I have an if statement saying, if the level falls below a
2007 Nov 16
4
Newb - variable returns # sign?
Hi Gurus- I want to return the variety from the species table based on the active record link to inventory table class Species < ActiveRecord::Base has_many :inventories end class Inventory < ActiveRecord::Base belongs_to :species (this is the singular and the plural, so that''s OK) end My inventory_controller looks like: def show @inventory =
2013 Oct 10
12
What's the best way to approach reading and parse large XLSX files?
Hello, I''m developing an app that basically, receives a 10MB or less XLSX files with +30000 rows or so, and another XLSX file with about 200rows, I have to read one row of the smallest file, look it up on the largest file and write data from both files to a new one. I just did a test reading a few rows from the largest file using ROO (Spreadsheet doesn''t support XSLX and
2006 Aug 15
5
Set up a default route
Phlip wrote: > Can I fix it by adding a view called ''inventories''? That worked, because I have a sufficiently late version of MySQL. Next question. What does "Set up a default route" mean? When I read... http://wiki.rubyonrails.com/rails/pages/Routes ...it reminds me of the Apache documentation for mod_rewrite. I hope someone appreciates the candor of my
2012 Dec 12
8
puppet dashboard inventory
I have a puppet master install which uses puppetdb. I also have puppet dashboard installed with the inventory service running. I want multiple puppet masters using a single puppetDB server. Puppetdb is installed on separate vm. How can I get the dashboard inventory to use the puppetdb server to get the inventory records? Where do I configure the dashboard inventory so it uses puppetdb? I
2006 Aug 15
6
try creating a table for your model
Railers: Greetings from the low end of the learning curve. I have installed all the prerequisites on Win32, including a lite MySQL database with a table in it called Inventory. Then I run this command line... ruby script/generate ajax_scaffold Inventory ...and I get this error message: error Before updating scaffolding from new DB schema, try creating a table for your model
2011 Mar 18
4
Inventory service and dashboard 1.1.0 rc1
I just set up the latest dashboard release candidate in hopes of trying out the new inventory service. After modifying the puppet- dashboard config to use the inventory service and after changing my auth.conf I gave it a whirl but ran into some issues.. I initially tried using fact_terminus = yaml and was able to do some queries via curl. I''m currently using storeconfigs so setting up
2011 Jul 23
2
Dashboard not retrieving inventory
Hi All, Puppet-dashboard appears to be having some trouble. Under inventory, it says: "Could not retrieve facts from inventory service: Permission denied - certs/dashboard.private_key.pem" When I run: curl -k -H "Accept: yaml" https://puppet:8140/production/facts/host.domain I get the expected dump of facts. Versions: puppet-dashboard is 1.1.0 (using passenger) puppet-master
2012 Jul 04
4
Identifying host OS in an ENC
Hi all, We have a mixed Linux and Windows environment and have so far just been using Puppet on our Linux servers. Having configured the inventory service, we''ve got an auditing script that uses the data to report on things like OS version, RAM, etc. This is all so nice that we''d like to extend it to auditing our Windows infrastructure. However, at this point in time, we have