search for: employeecontrol

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

2006 Apr 10
4
has render_component changed?
...ght be missing something but as far as I remember Rails updates is the only thing I''ve done in between. See the log: *** START LOG SNIPPET Start rendering component ({:params=> {:center_id=>10, :id=>25}, :action=>"supervisory_commissions_widget"}): Processing EmployeeController#supervisory_commissions_widget (for 127.0.0.1 at 2006-04-10 22:07:27) [GET] Session ID: 94a1e0400481a317fcd235c1360c82ac Parameters: {"action"=>"supervisory_commissions_widget", "id"=>nil, "controller"=>"employee", "center...
2008 Jun 22
3
Routing Error No route matches "/employee/list" with {:method=>:get}
...g is EmployeesController.rb class EmployeesController < ApplicationController scaffold :employee # create scaffold code for controller # override scaffold list method def list @employees = Employee.find( :all ) # return an array of all Employees end # method list end # class EmployeeController # The following is Employee.rb class Employee < ActiveRecord::Base end # And the following is list.rhtml, <?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm...