Ra开发者_运维百科ils in which folder should ruby classes go into?
I am reading this guide and I am wondering in which folder the NewsletterJob class should be in.
If you use the lib folder in rails 3, you need to add that to the load path, as rails 3 removed it by default:
# Custom directories with classes and modules you want to be autoloadable.
config.autoload_paths += %W(#{config.root}/lib)
You can put them in the lib folder. Or maybe add a folder under app, like jobs and you should get it loaded automatically in your environment.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论