similar to: Writing better HTML/CSS for the Depot app

Displaying 20 results from an estimated 7000 matches similar to: "Writing better HTML/CSS for the Depot app"

2006 Jun 16
4
Depot App: Upload Images
Hello, I''m a newbie to Ruby on Rails and like many others, I have been working through the depot application in the Agile Web Development book. I was wondering if anyone had enhanced the depot application to include the upload of images for each product? The following describes the sort of thing that I have been asked to produce for a client, so apologies if the information is not
2006 Apr 07
1
no interpreter found - depot
Hi, I am working on the tutorial"DEpot" and I was running ok the other day. Today I went back to the turorial to review. I started the database and tried to run the application. I get this messafe "No interpreter found""Before launching a Ruby application please specify an interpreter using the Ruby Interpreter Preferences page" I am not sure what I have done. Any
2006 Apr 11
2
Extending Depot Example
Hi I am new to the whole Rails/Ruby world as having come from a MS .NET background, but I have followed the Depot example in the Agile Web Dev. with Rails book with relative ease. However as an exercise to see how much I had understood, I thought I would attempt to modify the example a bit and add a Quantity field to the store index so as to pass that value into the cart. I have extended the
2011 Nov 03
1
What could cause the streams depot to become confused?
I'm using a program on Windows Server 2008 R2 x64 that requires NTFS alternate data streams. It's talking to a Samba 3.6.0 SMB2 share configured with streams_depot. The program has been running for over a month with no obvious problems, except that the filesystem has been accumulating "lost" directories. Apparently, at some point after the whole server crashed (both are VMs
2006 Jan 05
2
Agile Depot Tutorial Help
anyone can explain me why in the Agile Depot Tutorial application they use i.product_id to find if a product already exist in the cart, because the cart contains items, each of them references a product. I tried i.product_id like in the tutorial and i.product.i all of these 2 notation works , but i find the second seems more clean??? isn''t it. Any explanation will be fine Regards
2006 Apr 25
2
agile depot app login failure :(
Hi *, In an attempt to go back to the drawing board and learn RoR some more - I have built the depot application from the agile book. After finishing I tried to create a user for the admin section, however when ever I go to: http://localhost:3000/login/add_user It redirects to the login action, I don''t see the [add user] submit button?? I am sure this is connected to the
2008 May 09
3
Depot Application not working
Hello All, I am doing the depot appliction. I was first installed Instant Rails 2.0 on my machine. got error in getting scaffold :product then after searching in forum took the 1.2.6 version using the below command >gem install rails --version 1.2.6 --include-dependencies Now i am getting the error after starting the server >ruby script/server got the below error
2005 Sep 22
5
Adding Categories to the Depot example in the Agile Rails book
Hi ya, I want to add categories to the depot example in the Agile rails book. These are my thoughts: Create a new table called categories with id, title, description, and image fields. Add a new field to the products table called category_id Create a model called Category with "has_many :products" Now I should have a one to many link between the products and categories tables? Now
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails development'' book. I have constructed the ''products'' model, the Store-controller, and the ''Cart'' and ''Line Item'' classes. I have told Application-controller about :cart and :line_item: model :cart model :line_item Here''s part of
2000 Jul 25
1
glm and capture-recapture
Hello, I am almost new in R, so perhaps my question will be silly. I try to use R for analyzing capture-recapture data in epidemiology. A cancer registry has different sources of patients. We know in each list, patients already known in all other list. The aim is to use capture-recapture models for estimating the number of patients unknow of all the sources. Because no order in sources, one
2019 Nov 23
1
Installing Maven with OpenJDK 11, without pulling OpenJDK 1.8
Hello, I am trying to create a container image which will build Java software with Maven and Java 11 (rather focussing on CentOS 8 here). When installing 'maven' with yum, 'java-1.8.0-openjdk-devel' is installed as a dependency. If one then installs 'java-11-openjdk-devel', and use the update-alternatives command for java and javac, everything works fine and Maven uses
2009 Oct 13
5
Introduction to mark-recapture analysis in R?
Normal 0 21 false false false MicrosoftInternetExplorer4 Dear R-helpers,   I was wondering whether there are any good books and/or website links that introduce mark-recapture analysis in R. In
2004 Sep 14
2
A question please
Hi Does R have a proceedure/software for capture recapture? Thank you. Lawrence Lessner Please respond to LLessner at nycap.rr.com
2006 May 05
1
Agile Rails (1st edition), depot TDD "exercise"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I''ve been working my way through the Agile book and just completed the depot sample application. I learned quite a bit along the way. On page 171 we are led through the creation of a test (that fails) for new code. The new code (a search function) is left as an exercise for the reader. Well, I think I solved it but I''m not
2008 Jan 18
15
scaffold :product missing in Rails 2.0.2 version of depot tutorial?
I am getting an error when I try to run the code for the depot application (page 67 in the Agile Web Development on Rails book, 2nd edition). I built the complete depot app with Rails 1.2.6, and all worked well. I then updated to Gem 1.0.1 and RoR 2.0.2, and attempted to repeat the tutorial, and got this strange behavior. I used "rails depot --database=mysql" because I have not
2006 May 06
1
depot test-driven development exercise
(I posted this yesterday but within 20 minutes my thread was hijacked so I''m not sure anyone really saw this.) I''ve been working my way through the Agile book and just completed the depot sample application. I learned quite a bit along the way. On page 171 we are led through the creation of a test (that fails) for new code. The new code (a search function) is left as an
2006 Jan 29
6
Depot example problem on Slackware
Hello. I''m new to RoR. I run RoR on my Slackware. I follow the depot example and have a problem when run the script: root@localhost:~/work/depot# ruby script/generate scaffold Admin Product /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 5, col 2: ` socket:/var/run/mysql/mysql.sock'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in
2007 May 30
2
Depot - empty_cart with ajax
First of all id like to say hi to everyone from Argentina, im yet another Depot first-timer. Going through the example, i got to the point where my cart finally runs Ajax-based. And there is a line where Dave says, after all the job is done "You should see the cart in the sidebar update. And you shouldn''t see your browser show any indication of reloading the page. You''ve
2006 Jan 19
3
Troubleshooting Depot App
Hello! I am working my way through the Agile Web Development guide on RoR (the depot application). I am a bit lost as to where to debug the following error. The error is pasted below: ================================================================================================ NameError in Store#add_to_cart undefined local variable or method `product'' for LineItem:Class
2006 Aug 04
8
Demo in rails2.pdf of add_price migration, PostgreSQL 8.1.4
People, I''m looking at the migrate example on p 74 of the rails2.pdf It''s a simple example of using a migration to add a column to the products table. Here is a copy of the migration file named 002_add_price.rb after I generated and then edited it: class AddPrice < ActiveRecord::Migration def self.up add_column :products, :price, :decimal, :precision => 8, :scale