Displaying 2 results from an estimated 2 matches for "operationscontrol".
2009 May 01
5
Layout antics
...ine
 http://localhost:3000/operations/new --> problems
The problem is that rails is suddenly confused about paths and
interprets:
<link href="css/menu.css" rel="stylesheet" type="text/css" />
As routing calls. (from the stderror output):
Processing OperationsController#css to css (for 127.0.0.1 at
2009-05-01 06:07:26) [GET]
  Parameters: {"id"=>"menu"}
ActionController::UnknownAction (No action responded to css. Actions:
access_denied, check_group, check_roles, create, destroy, edit, index,
new, role_requirements, role_requirements=, sh...
2006 Aug 16
7
Forward of moderated message
...)
>     @progress = 0
>     calculate_the_meaning_of_life(args)
>     kill
>   end
>
>   def calculate_the_meaning_of_life(args)
>     while @progress < 100
>       @progress += 1
>     end
>   end
>
> end
>
> [ operations_controller.rb ]
>
> class OperationsController < ApplicationController
>   sidebar :general
>   sidebar :operations
>
> # start new worker and put the job_key into the session so you can
> # get the status of your job later.
> def background_task
>   session[:job_key] = MiddleMan.new_worker(:class => :ping_worker,...