Displaying 8 results from an estimated 8 matches for "pjagielski".
Did you mean:
jagielski
2006 Jan 31
2
Need advice on RoR app design
Fellow Railers,
Is there anything, anywhere, that I can read that discusses overall RoR
app design? I have the Agile RoR book, which is great for learning the
details of RoR, but unfortunately doesn''t cover the overall issue of
creating a large, complex RoR app.
My staff and I are still in the process of getting up to speed on Ruby
and RoR, but we also need to begin thinking about
2006 Jan 01
7
Can''t get select helper to populate dropdown w/default value
Guys,
I searched this forum and found plenty of people having this problem,
but I didn''t see any definitive solution. Usings Rails 1.0.
When I edit an existing record, I can''t get the basic "select" helper to
display the current value contained in the field of the record. All of
my other (text) fields populate correctly with current field values.
There appears
2006 May 26
4
Jamis, problem w/Capistrano
Jamis,
I''ve spent hours trying to get Capistrano working, to no avail. I''m
hosting over at www.railsplayground.com, and here''s their instructions
I''ve been following:
http://tinyurl.com/hyo93
I can''t get past step 7. When I execute "rake remote:setup", I get a
rake aborted! message. When I do a "rake --tasks", I get only a
2006 Apr 19
2
select_tag and :include_blank => true not working
Guys,
I''m using select_tag to display a non-model dropdown, which works fine.
However, I''ve tried every which way to use the :include_blank => true
option, but it simply won''t display a blank value. Using :include_blank
=> true with select on model fields works fine.
Can someone please show me a working example?
--
Posted via http://www.ruby-forum.com/.
2006 May 06
3
Question about one-to-many-to-many
Guys,
I''ve set up a 1-M-M relationship between 3 tables/models. I can''t get
cascading deletes (haven''t tried updates yet) to work when the master
record is deleted. I''m using MySQL 4.1.x, and the error message is:
Mysql::Error: #23000Cannot delete or update a parent row: a foreign key
constraint fails: DELETE FROM contact_addresses WHERE (contact_id = 1).
2006 May 23
0
rake db_schema_dump failure
Anyone know why "rake db_schema_dump" would produce the following error:
rake aborted!
Don''t know how to build task ''db_schema_dump''
(See full trace by running task with --trace)
Otherwise, my migrations work fine.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 08
1
Many-To-Many w/acts_as_tree?
Guys,
I''m having a problem getting acts_as_tree working. It seems from the
Agile book (p. 255) that acts_as_tree only supports one-to-one record
relations, whereas I need many-to-many support. In other words, looking
at the picture at the top of page 256 where where only 1 id is linked to
1 parent_id, I need multiple id''s linked to multiple parent_id''s - for
2006 Feb 15
0
Need help setting up and iterating thru a tree
Guys,
Newbie here. Given the following table named Employee_Links:
ID Emp_ID Parent_ID
-- ------ ---------
1 200 100
2 300 100
3 300 200
4 400 100
5 500 400
6 500 300
I''d like to be able to generate a tree that looks like this:
100
|-200
|-300
|-500
|-300
|-400
|-500
Note that where 500''s Parent_ID = 300