search for: wentwj

Displaying 3 results from an estimated 3 matches for "wentwj".

Did you mean: went
2007 Oct 10
2
display variable from a relationship
Hello, I have the following scenario: Models: provider (has_and_belongs_to_many) level (has_and_belongs_to_many) levels_providers At the moment, I''m attempting a page that will list all of the providers. I have this working perfectly, but I want each provider that is listed to also list the levels that are associated with it. I haven''t been able to get my head around this. I
2007 Nov 21
4
Scaffold: What's the advantage of actions create/update?
Hi all I''m quite unsure what''s the point to have a create and update action in the Rails scaffolds... I guess the developers had good reason to implement them, but I don''t really see the reason for them... Why no just checking for get/post within the same new/edit method? def new unless request.post? # do the normal "new" stuff else # do the
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano. But on my local machine I edited one of the earlier migrations. I''ve tried "cap deploy_with_migrations", but it looks like it didn''t rebuild the database. How can I do the equivalent of this using Capistrano? "rake db:migrate VERSION=0" "rake db:migrate" -- Posted via