Displaying 20 results from an estimated 10000 matches similar to: "Server won''t start"
2006 Jan 17
5
Noob Question concerning code in Agile Web Development with Rails
Hi,
I''m currently learning Ruby on Rails using "Agile Web Development with
Rails." I am using RadRails as my development environment. Everything has
been going along well, until the end of chapter 7. Just before the end of
the chapter, we set up our store pages so that they can be styled with the
depot.css stylesheet. This is where I run into my problem. The stylesheet
2006 May 05
1
create a report page with 3 tables involved?
Hi,
I am learning Radrails and want to tie the web project all together by displaying 3 tables linked together.
I want to select one item from the main table, and then link to the other two tables. they will be linked by the key of the first table.
It seems that I should create a rhtml in a main table or should I just copy the list.rhtml created by the generator scaffold?
I might not make any
2005 Dec 23
8
webrick / winxp won''t stop serving cached file??
Hi
Working through the tut material in teh PP book (agile dev with rails)
on a laptop running winxp.
Creating the "admin" application, things generally work great. Except:
at teh end of chapter 6, when we update teh css to improve the look of
the page - I copy the new scaffold.css into my working directory, but
webrick keeps serving the old css, even after a restart. Very odd. The
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 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version
of rails was too old, and I needed to install it from gems instead of
the version in my version of Ubuntu. Since then, I''ve done that, and I
built ruby 1.8.4 from source and installed it. The installation was to
/usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I
renamed that and put a link to
2007 Feb 16
5
rake db:migrate - error 'tSYMBEG'
I''m going through the ''Depot'' project in "Agile Web Development with
Rails". I just made the 003_add_test_data.rb file and when I do a "rake
db:migrate", I get this error and I can''t figure out what is wrong:
rake aborted!
./db/migrate//003_add_test_data.rb:5: parse error, unexpected tSYMBEG
5. :description =>
(and the
2006 Apr 20
7
checking date
Radrails created a field for date
<%= product.date_available.strftime("%y-%m-%d") %>
What does this mean?
Should the definition be date or datetime? I tried both and no results
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060420/ed0cbb14/attachment.html
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
2006 Apr 12
11
validate_presence_of not working for me
Hi all,
I just begun with RoR and going through the Agile development w Rails
depot example ATM. I did everything according to the book (i believe),
and after 3 hours of googling, reading docs, making sure i did
everything correctly i can not make the validate_presence_of() to work -
at least not as it looks in the book. My Product model looks like:
class Product < ActiveRecord::Base
2006 Jul 26
3
newbie: Scaffold doesn''t pickup DB changes
I''m following along with the depot example in ''Agile Web Development'' and ran into a problem with Scaffold. I changed the MySQL table structure to add a few columns directly and also tried the migrate script to change the database after I got the initial scaffolding to work. However, I can''t seem to get the new columns to show up and am stumped as to how I can
2011 Oct 20
2
Agile book apache2.conf: Forbidden You don't have permission to access / on this server.
Appreciate any help -
I am working through Agile web development (4.0) and am stuck on the
deployment using phusion passenger. I get this:
"Forbidden
You don''t have permission to access / on this server."
when I put depot.yourhost.com in the browser.
I have been through various web searches and for file permissions and
suggestions to change the <Files> container.
2006 Mar 15
4
New RadRails tutorial using AWDWR book
Hello there,
I am basically a J2EE refugee fascinated with Rails.
I have been using the Spring framework (a lightweight J2EE java framework
with some special characteristics) but I am so impressed with RoR that I am
porting over many applications.
In order to "dive into Rails", of course the second thing to do was get
myself an IDE, and since I''ve been using Eclipse for the
2006 Mar 06
2
Can''t see documentation after executing "rake appdoc"
I successfully got rake appdoc to work on the depot application (after
manually applying the patch for rake 0.70).
Everything appears to generate fine, but I can''t pull up the
documentation in my browser.
I''ve tried:
http://localhost:3000/doc/app/
http://localhost:3000/doc/app/index.html
I always get:
Recognition failed for "/doc/app/"
with
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
2019 Jul 13
1
streams_xattr & streams_depot
A couple of questions about the above:
1. In their respective man pages, both refer to "NTFS alternate data streams?, however they are not limited to just NTFS ADS are they? Other file systems may also use ADS (such as Mac OS?s various fs)
2. What is the essential differences and similarities between the two? From the man pages it appears that:
- xattr has default prefix (which can be
2006 Mar 28
1
Master - Detail Form
Hi, I''m new with RoR. I''m trying to do a master-detail CRUD form, using
generate scaffold.
The problem I''m facing is that I have to keep the parent id through the
detail view all the time by hand. Is there any example or way to see how
to do it properly?
Thanks.
Fernando.
PS: For further information, I have a Task and the Tasks have Items, so
when I want to add an
2003 Dec 06
2
Using Rsync With SSH?
I'll try to be as clear as possible with what I need to do and what I
need.
I have a depot server with HP depots that I need to replicate. The
only part I need help with is setting up Rsync to use SSH to
replicate the data from system a and everything under /depot to
system b /depot. Basically just copy directory /depot from one box
to the other using SSH. I'll need this to be ran
2006 Jul 22
2
radrails 0.7 - can''t download / no access to mailing list?
Hi,
Just wondering if anyone knows anything about what seems to be an issue
trying to download version 0.7 of radrails from http://radrails.org/. I
get an error, plus I can''t see a contact me email list to get back to
the guys + the email lists link is broken.
Error
Could not read file.
Go back. /home/ftp/pub/sourceforge//r/ra/radrails/radrails-0.7-win32.zip
Jul 22, 2006 15:21
2007 Nov 25
15
Possible Problem with RSpec and
Sorry to be such a pest but I am trying to learn Ruby, Rails and RSpec all
at one go and it is a bit overwhelming. I have previously completed the
depot tutorial in the Agile Web Dev with rails book and now I am trying do
do it again using RSpec.
What I would like to know now is why I am getting a rake failure error at
the end of every spec:models run. Is this the expected behaviour when a
test
2006 Mar 30
3
simple migration problem
Hi:
I''m running RoR 1.1
I''m going through the Agile book Depot example and I want to generate my
next migration file so i''m typing
./script/generate migration depot
I was sort of expecting to get the file 002_depot.rb .. instead i''m
being informed that there already exists a migration named depot..and no
new file is generated..
should I be using a new