Class: FieldTest::HomeController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- FieldTest::HomeController
- Defined in:
- app/controllers/field_test/home_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
9 10 11 |
# File 'app/controllers/field_test/home_controller.rb', line 9 def index @active_experiments, @completed_experiments = FieldTest::Experiment.all.sort_by(&:id).partition { |e| e.active? } end |