similar to: problem - please help

Displaying 20 results from an estimated 5000 matches similar to: "problem - please help"

2006 Aug 11
2
creating a development db from existing db
Hi there, I would like to copy the schema and data from an existing database and create a development db with the schema and data. Is this possible? - I have heard of doing a ''schema dump'', what about a data dump. The data in the existing db is important - I worry that doing something could delete the data. Is this fear unfounded? Chris. -- Posted via
2006 Aug 07
12
web app or ''real'' app
Hi there, Is a web app always preferable to a ''real'' app? - or are there times when a real app should be used? I''m starting a new app and can''t decide which would be best. Is Ruby (not RoR) suitable for a real app? Chris. -- Posted via http://www.ruby-forum.com/.
2010 Nov 15
1
Version 2.12.0 exe file
I have R version 2.9.1 on my computer and the anlaysis is not working because I need to update to R version 2.12.0 the latest release. The person incharge of IT tried to download R version 2.12.0 but .exe file referenced in install isn't there - What might we be doing wrong? We have downloaded as tar.gz, uncompress then look for .exe file but not present. Many thanks, Morris
2006 Aug 06
6
Having Problem w/ Agile Web Development book
I get this error ... NoMethodError in StoreController#index undefined method `salable_items'' for Product:Class and here is my store_controller.rb ... class StoreController < ApplicationController def index @products = Product.salable_items end def self.salable_items find(:all, :conditions => "date_available <= now()", :order => "date_available
2002 Dec 04
2
Won't %L work anymore?
I am trying to run multiple instances of samba on the same unix host. This is being done so that I can functionally breakdown the usage into, for example, a "finance" server and an "engineering" server. This is not based upon the client or the user, but based upon the virtual server. My first attempts were a real problem in that, though the config file could be specified on
2012 Mar 07
4
Column with codes
Good Day, I have a small question, I think it is simple to solve, I have a column with the following records name saucer cup tea saucer saucer what is the quickest way to create a new column codes 1 1 3 1 1 -- View this message in context: http://r.789695.n4.nabble.com/Column-with-codes-tp4452906p4452906.html Sent from the R help mailing list archive at Nabble.com.
2006 Jul 03
2
Agile Web Dev on Rails - ActiveRecord::RecordNotFound Prob
Hi there I''ve also made a start on the Agile Web Dev using Rails book! I''ve been hit with a problem when hitting the ''Add to Cart'' button - I get the following error message: ActiveRecord::RecordNotFound in StoreController#add_to_cart Couldn''t find Product without an ID RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full
2006 Jun 08
19
Agile Web Dev (book) question: errors
This is kind of frustrating (but no doubt helpful in the long run) that after following along and coding , and d/l the code the same error is appearing. For those who are familiar with the depot app, I''ve run into a problem after fixing the cart to reflect quanitites. I worked through the intended error messages but now have this appearing: SyntaxError in StoreController#add_to_cart
2015 Feb 05
3
Another Fedora decision
On Thu, February 5, 2015 9:34 am, Always Learning wrote: > > On Thu, 2015-02-05 at 09:51 -0500, Lamar Owen wrote: > >> On 02/04/2015 07:55 PM, Always Learning wrote: >> > Rent ? That costs money. Just crack open some Windoze machines and do >> > it for free. That is what many hackers do. >> >> Those crackers who build these botnets are the ones who
2006 Dec 04
3
uninitialized constant Product
I am actually following the instructions/code snippets from "Agile Web Development with Rails" and got as far as page 73 where I did ruby script/generate controller Store index, then edited store_controller.rb to class StoreController < ApplicationController def index @products = Product.salable_items end end and product.rb to: def self.salable_items find(:all,
2006 Jan 11
6
Help -- NoMethodError in
Hi, I am just learing Rails and I am going through the Agile Web Development with Rails book. I am receiving: NoMethodError in Store#add_to_cart undefined method `add_product'' for #<StoreController:0x3764d80> RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/controllers/store_controller.rb:12:in `add_to_cart''
2006 Apr 18
4
''depot'' tutorial failing on adding to cart
Hi I''m very keen to learn RoR and have been following the Agile Web Development with Rails book (first edition). However, I''ve come across a problem which has had me stumped for days now. After following the instructions up to page 85 I have tried testing the code thus far, as suggested, by adding an item to the cart. But I am getting the following error: --
2009 Apr 06
11
How do I fix this? Power went down.
I was successful in reaching page 184 in the book "Agile Web Development with Rails" 3rd edition and while running the website with PostGreSQL as the backend, the power went down. The PostGreSQL database contents look OK and so do the source code files I was editing. But whenever I click on any "Add To Cart" button in the catalog, I get the following information in the
2008 Jul 10
5
Uninitialized constant (controller/model)
NameError in StoreController#add_to_cart uninitialized constant StoreController::Cart This is the controller: class StoreController < ApplicationController def index @products = Product.find_products_for_sale end def add_to_cart @cart = find_cart product = Product.find(params[:id]) @cart.add_product(product) end private def find_cart session[:cart] ||=
2007 Oct 15
4
ArgumentError in StoreController#add_to_cart: wrong number of arguments (1 for 0)
I am really new to Ruby and Rails but as you probably see I am trying to get the shopping card working from the book. I am getting this error but I really don''t know what to do. I have looked up several of topics that stated the same problem but as far as I am, nothing has helped me out yet. Is there something wrong with the Product model? This is in the StoreController and I believe it
2006 Feb 28
3
Agile Web Development Example Application Question
I''m new to Ruby and to fairly new to programming. I''ve been working through the "Agile Web Development with Rails" book, and I''m stuck on page 73 of the print version. The book''s online errata directed me here with my questions. I''m running Ruby 1.8.3 with MySQL 4.1.8 on OSX 10.3.9. I''ve created the scaffolding for Admin controller
2007 Jan 12
5
File Lock Timeout
Hi, I've seen posts (but no answers) about clearing a file lock on a Samba share. Presumably this kind of thing happens when the program abnormally terminates and doesn't close its open files. I've got a file that smbstatus reports as: 1216 DENY_WRITE 0x20089 RDONLY NONE /shares/share1/Files/december.xls Fri Jan 12 12:51:30 2007 Trying to open this in Excel
2015 Dec 29
2
[HCL] NHS Laser Senoidal 5000VA supported by gamatronic
Device Manufacturer: NHS Device Name: Laser Senoidal 5000VA upsc output when the UPS is in normal condition: battery.charge: 100 battery.current: 0.4 battery.date: 12292015 battery.runtime: 00000 battery.runtime.low: 59940 battery.temperature: 00 battery.voltage: 163.4 device.mfr: NHS Sistemas de Energia device.model: Laser Senoidal 5000VA device.type: ups driver.name: gamatronic
2006 Feb 07
11
Possible Rails Security Issue?
I have an e-commerce site and users check out with a form. The results of that form are sent to a "confirm your order" page via POST. I take great pains to NEVER store the full credit card number on my server--just the last 4 digits. I was very surprised to find that by default Rails will record POST requests with parameters in the production.log. And those parameters
2006 Nov 29
2
random binary trees in R
Hello! I wish to generate random binary trees in R. Unfortunately recursive code like: t <- function(p) { list(ifelse(runif(1)<p,t(p),0), ifelse(runif(1)<p,t(p),0)) } does not seem to work. Has anyone ever performed such a simulation? I would like to see their code. Maybe this is not feasible in R. Please e-mail me at the below address (since I am not yet a subscriber to this