search for: gaarmh60a

Displaying 2 results from an estimated 2 matches for "gaarmh60a".

2005 Dec 29
4
Images in Agile Web Development with Rails
Hi, I am working through Agile Web Development with Rails and I am at pg 69 second last paragraph says "put some images in the public/images directory......" how do you code the link that is stored in the data base I have tried http:public/images/name .jpg with no avail I have tried the fully qualified address http://home/../../../../name.jpg also with no luck. How should I code this?
2005 Nov 25
2
acts_as_list with 2 fields in the scope
Hi Railers, I''ve got a Categories table. I want it to act as a list within the scope of the parent_id AND the site_id. Categories table : id label site_id parent_id So, in my Category class, I have : acts_as_list :scope => ''site_id = #{site_id} AND parent_id = # {parent_id}'' The problem is that when I try to move_up a Category with a parent_id that is null,