search for: testscontrol

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

Did you mean: test_controls
2006 Aug 03
1
strange before_filter error. is this a bug i have found?
...ind_regression_test def find_regression_test @regression_test=RegressionTest.find(8) end .... The above seems like perfectly normal before_filter syntax, but it gives this error. Aldo is no application trace, just a framework trace: Any idea what is wrong? NoMethodError in Regression testsController#modify_regression_test private method `equal?'' called for false:FalseClass RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1567:in `=='' /usr/local/lib/ruby/gems/...
2006 Mar 17
2
Controller/View Organization (Newbie Question)
...iews for adding/editing/deleting data relating to the Dog. My question is about the accepted or "best practice" way to lay out these auxiliary views. I''ve thought of a few ways to do this: 1. Make a controller for each of the auxiliary objects (TrainingSessionsController, TestsController, etc), each with a view to show information only relating to the current Dog in question. So for example, the overview URL "/dogs/show/1" might link to a detail page at "/training_sessions/list?dog_id=1" .. This seems ugly to me, as I will need to keep passing around...