2010-08-01ãã1ã¶æéã®è¨äºä¸è¦§
% cat lib/tasks/cron.rake task :cron => :environment do # nanika shori endããã§ãããã¨æã£ã¦ããã©ãå ¨ç¶ãã¾ãè¡ããªãã£ãã®ã§èª¿ã¹ã¦ã¿ãããcronã¯addonã ã£ããaddon足ãã¦ãªãã£ãã®ã§è¶³ãã¾ãããããã§åãã¯ãã % heroku addons:add cron:dâ¦
Rails3.0.0.rcã使ã£ã¦ããã§ãããè²ã ã¨ä¸é½åããã£ãã®ã§Rubyã®ãã¼ã¸ã§ã³ãæ³£ãæ³£ãæ»ãã¾ãããå ·ä½çã«ã¯ãããªæãã§ãã rakeã§ããªãã®ã§cronã使ããªã include Mongoid::Document ããmodelãnewããã¨[NoMethodError: undefined method `sanitiâ¦
ã¿ã¤ãã«ã®ã¾ãã¾ã§ãããæä¸ã寸åã ããããã°ãå°ãåã«Herokuã®Bundlerã®ãã¼ã¸ã§ã³ã1.0.0.rc.2ã«ä¸ãã£ã¦ã¾ããããªã®ã§rails 3.0.0.rcã®ã¾ã¾ã§ããããã¤ã§ãã¾ãã rakeããã¾ããããªãã®ã¯ã"Rails 3 doesn't officially support Ruby 1.9.1"ã£â¦
Herokuä¸ã®RailsããMongoDBã®ä¸èº«ãåç §ã§ãããããã¾ã§è©¦ãã¦ã¿ã¾ãããå¿ããªããã¡ã«ã¡ã¢ãã¦ããã¾ããä»åãã£ã¦ã¿ã¦ããã£ããã¨ã¯ä¸è¨ã ä»ã¯rails 3.0.0.rcã ã¨ãã®ã¾ã¾ãããã¤ã§ããªã MongoDBã使ãã«ã¯ã¢ããªã³ã使ã(ã¯ã¬ã¸ããã«ã¼ããå¿ è¦)â¦