Displaying 6 results from an estimated 6 matches for "pigford".
2006 Jun 17
5
Having trouble listing tiers of categories
I have categories and sub-categories in a table called "categories".
Every row has a "parent" field to note if the entry is the sub-category
of another (never goes deeper than 1 level).
So there might be something like this:
id | name | parent
1 Dog 0
2 Pug 1
3 Siamese 5
4 Shih Tzu 1
5 Cat 0
6 Wiener Dog 1
7 Persian
2006 Mar 18
5
How would I get the previous id from the database?
I''m trying to get the id of the previous row prior to what would be
input and then rename an uploaded image to that row number.
So say the previous row was 19 and the image in that row was named
19.jpg, I''m wanting to name the next uploaded image as 20.jpg since the
row that would be added then would be 20.
Right now I''ve just got:
@new_tutorial =
2006 Aug 16
2
What would the ideal server setup be?
I have one dedicated server for all my various projects (both PHP as
well as Rails) and will be getting a second server to run only the Rails
apps on.
What is the ideal server setup in terms of RAM vs. Processor Speed (more
RAM or more processor speed?) and should I use Apace, lighttpd, mongrel,
or what?
I''ve got the money to afford something pretty solid...just don''t know
2006 Feb 21
6
What do I need to learn Ruby, Rails, JavaScript, AJAX?
So I''ve sort of come to the conclusion that if I wanna get stuff done, I
need to either A) Find some dang money and pay people to do it or B) Do
it myself. I''m opting for B. Soooo...now I''ve got some
programming/technologies to learn. I''m self-employed and I can afford to
take a month (or 2) off to totally immerse myself in this and learn how
to do it.
2006 Mar 18
1
How do you decide what controllers and actions to have?
I''m fairly new to RoR and am teaching myself by slowly converting one of
my sites (http://tutorialoutpost.com) to RoR from PHP. What I''m having
trouble with though is figuring out what controllers I should make and
what actions to use.
How do you plan all of it out? I''d had to start hacking away at this and
then come to find I had it all laid out wrong from the
2006 Feb 26
0
NoMethodError in Agile Web Devleopment Depot Tutorial
I''m working on building the shopping cart in the Depot tutorial in the
Agile Web Development book. I''m at the part (about page 80) where you
build the ability to add items to the cart. I''m able to get to
/store/display_cart/ and it seems items are being added, but if I just
click on a link to add an item (/store/add_to_cart/2) it gives me this:
NoMethodError in