search for: check_for_new_print_job

Displaying 1 result from an estimated 1 matches for "check_for_new_print_job".

2010 Apr 07
0
Problems with no method error with rufus scheduler
...; do puts "hey see you in 10seconds!" end works fine so far. Now I change it to: test.rb require ''rubygems'' require ''rufus/scheduler'' scheduler = Rufus::Scheduler.start_new scheduler.each ''10s'' do recipe = Recipe.check_for_new_print_jobs end And here I get an error.. etc. method check_for_new_print_jobs not found. The method is in the recipe controller /app/controllers/recipe_controller.rb class RecipeController < ApplicationController def index end def show end def check_for_new_print_jobs File.open(''test_...