Rails(3.2.2) Direct sign_in to the Spree(1.1.1) from non-spree controller



I have integrated Spree(1.1.1) into my existing Rails 3.2.2 Application. I have home_controller in my existing application. I want to direct login the user from action in the home controller to the spree using the sign_in method as


user = Spree::User.find(params[:user_id])
sign_in(user)

but that sign_in method is in the context of Spree.


How should I use sign_in. ?


Related to : Rails(3.2.2) Direct sign_in to the Spree(1.1.1) from non-spree controller
how to install “spree-dropdown-variants” with spree 1.1.1
Programming Languages

I am using spree 1.1.1 and facing problem installing "spree-dropdown-variants" because it has no GEM file. Please help me.


Rails(3.2.2) Direct sign_in to the Spree(1.1.1) from non-spree controller
Programming Languages

I have integrated Spree(1.1.1) into my existing Rails 3.2.2 Application. I have home_controller in my existing application. I want to direct login the user from action in the home controller to the spree using the sign_in method as


user = Spree::User.find(params[:user_id])
sign_in(user)

but that sign_in method is in the context of Spree.


How should I use sign_in. ?


Spree customization in rails
Programming Languages

Best way to customize a spree application in rails and from where i can see the existing code of the app?


Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)”
Programming Languages

Installing spree on rails gives multiple errors for dependence on 'thor' although I have both versions in my gem list.


#

Bundler could not find compatible versions for gem "thor":
In Gemfile:
spree (>=0) x86-mingw32 depends on
thor (= 0.14.6) x86-mingw32


sass-rails (~> 3.23) x86-mingw32 depends on
thor (= 0.15.4)

#

NOTE: My versions used are:


rails 3.2.6


spree 1.1.2


ruby 1.9.3p194


Spree: uninitialized constant Spree::ThemeSupport
Programming Languages

It seems like many of the Spree's extension don't support latest version of Spree (1.2.0). I tried to install few gems but I keep getting


uninitialized constant Spree::ThemeSupport

I read solution somewhere which is "It was deprecated, and is now removed you should be defining Deface overrides in the app/overrides directory now". But how to exactly do that? Has anyone implemented this?


Uninitialized constant Spree::ThemeSupport - Spree 1.3
Programming Languages

I'm using Spree 1.3.0, I have installed spree_products_tags for adding tags to products,


srikanth@srikanth-laptop:~/projects/mystore$ rake spree_products_tags:install:migrations
rake aborted!
uninitialized constant Spree::ThemeSupport
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/bundler/gems/spree_products_tags-b90636c337ff/lib/spree_products_tags_hooks.rb:1:in `<top (required)>'
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
/home/srikanth/.rvm/gems/ruby-1.9.3-p327/bundler/gems/spree_product

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .