Giter Club home page Giter Club logo

spree-promotion-roles-rule's People

Contributors

traels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spree-promotion-roles-rule's Issues

uninitialized constant RolesPromotionRule (NameError)

Hi,

I added this to the spree initializer file -
Rails.application.config.spree.promotions.rules << RolesPromotionRule

and get the following error -
uninitialized constant RolesPromotionRule (NameError)
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/engine.rb:593:in block (2 levels) in <class:Engine>' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/engine.rb:592:ineach'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/engine.rb:592:in block in <class:Engine>' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/initializable.rb:30:ininstance_exec'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/initializable.rb:30:in run' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/initializable.rb:55:inblock in run_initializers'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/initializable.rb:54:in each' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/initializable.rb:54:inrun_initializers'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/application.rb:136:in initialize!' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:inmethod_missing'
from /Users/danmitchell/Projects/LovePleasureStore/config/environment.rb:5:in <top (required)>' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/polyglot-0.3.3/lib/polyglot.rb:63:inrequire'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/polyglot-0.3.3/lib/polyglot.rb:63:in require' from /Users/danmitchell/Projects/LovePleasureStore/config.ru:3:inblock in

'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/builder.rb:51:in instance_eval' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/builder.rb:51:ininitialize'
from /Users/danmitchell/Projects/LovePleasureStore/config.ru:in new' from /Users/danmitchell/Projects/LovePleasureStore/config.ru:in'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/builder.rb:40:in eval' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/builder.rb:40:inparse_file'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/server.rb:200:in app' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/commands/server.rb:46:inapp'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/server.rb:304:in wrapped_app' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.4.5/lib/rack/server.rb:254:instart'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/commands/server.rb:70:in start' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/commands.rb:55:inblock in <top (required)>'
from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/commands.rb:50:in tap' from /Users/danmitchell/.rvm/gems/ruby-2.0.0-p247/gems/railties-3.2.14/lib/rails/commands.rb:50:in<top (required)>'
from script/rails:6:in require' from script/rails:6:in'

New Version for 2.2 or above

Hi,

do you plan to update your Spree Extensions for newer Version of Spree?

That would be awesome!

Best regards,
Manuel

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.