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
Rails(3.2.2) Direct sign_in to the Spree(1.1.1) from non-spree controller
by msg in 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])
si
Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)”
by Kavoos in 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-ming


how to install “spree-dropdown-variants” with spree 1.1.1
by rancherlee in 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.


Uninitialized constant Spree::ThemeSupport - Spree 1.3
by ShiggityShaw in 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.
Spree: uninitialized constant Spree::ThemeSupport
by Tom Clark in 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 sh


Add Spree to rails app with devise
by Barfo in Programming Languages

I'm new at RoR but I'm loving every bit of it :)


I have a small app that uses devise for authentication and it's working fine.


Now I want to add a ecommerce part nad I decided for spree. I installed spree and during installation it asked me if I wanted to use the default a


Rails Spree internals
by amosk in Programming Languages

I am trying to use Spree with my RoR application. Ok, I do follow all those guides and FAQs on official website when I want to customize something. That's ok and no problem with it. One question, to which I could not find a clue -- how is that possible, that there is nothing in apps/view, apps/mo


Rails 2 + spree (0.11.0): Where is the CheckoutsController?
by ElFenix in Programming Languages
I was given a legacy spree app and I am supposed to edit one of the deeper checkout pages, but I can't get to it on my local because it keeps redirecting me to the shopping cart page with the flash:Can't check out, no payment methods are configured for this environmentMy database should be identical
Spree customization in rails
by lm3 in Programming Languages

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


Spree, Rails 3, and theming
by Soccer55 in Programming Languages

Well, I've been trying to change the default theme of spree by following this tutorial


http://blog.endpoint.com/2010/01/rails-ecommerce-spree-hooks-tutorial.html


But the homepage doesn't change at all, well since the tutorial is meant for rails 2, I'm just wondering what d


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