GithubHelp home page GithubHelp logo

background-fu's People

Contributors

fixlr avatar infused avatar kurowski avatar ncr avatar ovelar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

background-fu's Issues

Cache Money and background-fu

When I try to add a job, it goes crazy on me -

Job.enqueue!(ExampleWorker, :add, 1, 2).id
RuntimeError: repository delegated to @cache_config.repository, but @cache_config is nil: Job(id: integer, worker_class: string, worker_method: string, args: text, result: text, priority: integer, progress: integer, state: string, lock_version: integer, start_at: datetime, started_at: datetime, created_at: datetime, updated_at: datetime)

Any ideas?

Doesn't work in Rails 3

As you might know, the plugin doesn't work in Rails 3. It would be nice to get this working as this plugin appears to be very good. Thanks in advance.

Scaffold Generation Unneccessary?

Do the Jobs views & controllers, other scaffolding provided with b-fu really need to be generated? I don't see anything in them where templates are needed. We could just add a UI path and add it to the necessary load paths. Developers have to add to their routes.rb anyway. See http://github.com/jrwest/rcumber for an example.

require 'job' and require 'job/bonus_features' not found

In rails/init.rb requiering the job files didn't work. The fix solve this issue:

diff --git a/rails/init.rb b/rails/init.rb
index 94ed1be..215a29a 100644
--- a/rails/init.rb
+++ b/rails/init.rb
@@ -1,12 +1,12 @@
 require 'background_fu'
 require 'background_fu/worker_monitoring'
-require 'job'
-require 'job/bonus_features'
+require 'background_fu/job'
+require 'background_fu/job/bonus_features'
 
 ActiveSupport::Dependencies.load_paths << "#{RAILS_ROOT}/lib/workers"
 
 # comment out these lines if to disable callbacks
-require 'job/callbacks'
+require 'background_fu/job/callbacks'
 Job.send(:include, Job::Callbacks)
 
 #ref    http://guides.rubyonrails.org/2_2_release_notes.html says 2.2 onwards allow_concurrency deprecated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.