search for: gaudimila

Displaying 9 results from an estimated 9 matches for "gaudimila".

2006 Mar 03
2
newbie scaffold question
I''ve got a database with several tables. I''d like to create scaffolding for separate CRUD interfaces for several of these tables. I''m hoping that the scaffold generator can create the CRUD code for all these tables in ONE controller, but I don''t know how to tell it to do that, if it can. Can anyone verify if this is possible? Thanks, David -- Posted via
2006 Jun 15
5
gem install rails locally without Internet?
I''ve got a machine that cannot be connected to the Internet (think security precautions in a bank) and am thus trying to install rails using gem install rails-1.1.2.gem thinking this would work. It does not. I get errors about ActiveSupport module missing. It makes it sound like I have to get separate gems for ActiveSupport, ActiveRecord, etc., and install them all one at a
2006 Mar 13
3
HABTM: two habtm''s between the same two tables
Imagine I want to track people, and the clubs that they belong to. table people with columns person_id, person_name table clubs with columns club_id, club_name And I have the association table: table clubs_people with columns person_id, club_id Now I know how to do this habtm between the two, in order to associate people with clubs that they belong to. However my application also needs a
2006 Feb 24
6
Changes to Class File Not Being Recognized by Webrick
Newbie, having good luck with Dave Thomas'' book ''Depot'' application until I discovered that changes to one of my .rb class files are not being recognized until I bounce the webrick server. Any ideas on this? Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Mar 03
0
Does content_columns hold related data from other tables?
I''ve got a belongs_to / has_many relationship working, however I don''t know if I can still use content_columns (or any other shortcut) in my view that displays my object. E.g., Employee belongs_to Department I''m displaying an Employee. Will content_columns contain employee.department.name? Or how else could I do this so I don''t have to hard-code column
2006 Apr 08
1
How do I allow downloading pdf & and other files?
I have a library of .pdf and .doc files in the public folder of my Rails app. What''s the best way to configure routes.rb so that I can provide links to download these files from my webrick server? -- Posted via http://www.ruby-forum.com/.
2006 May 10
2
HABTM - How do I do a select box for this?
I''ve got several habtm''s working fine in my app but have been having trouble with a new twist: imagine an app that tracks students and courses that they''re taking. So there''s a student Class and a course Class, and the tables also, and a students_courses table. This stuff I have down cold. The problem was I wanted a form that allowed associating a student
2006 Mar 12
3
Newbie: using find like a sql join query
I have a working Rails app with several related tables, but can''t find an answer to this question in the Dave Thomas Rails book. Imagine for example: table departments with columns: id, department_name table employees with columns: id, department_id, employee_name and of course the employees table has a constraint foreign key (department_id) references departments(id) So this is
2006 Apr 18
6
Best Practice for Returning to Calling Page?
I have a partial, it''s a shopping cart display, it''s designed to appear on several different pages of my site. One of the buttons on the shopping cart empties the cart, and then I want the calling page to redisplay. In other words, the cart controller needs to return the visitor to the same page -- however since the cart could appear on any given page, this has to be