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. ?


View Replies

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


Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)”
Category : 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


View Replies


how to install “spree-dropdown-variants” with spree 1.1.1
Category : Web Design

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


View Replies


Uninitialized constant Spree::ThemeSupport - Spree 1.3
Category : 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.

View Replies


Spree: uninitialized constant Spree::ThemeSupport
Category : 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


View Replies


Rails Spree internals
Category : 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


View Replies


Rails 2 + spree (0.11.0): Where is the CheckoutsController?
Category : 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

View Replies


Add Spree to rails app with devise
Category : 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


View Replies


Spree customization in rails
Category : Programming Languages

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


View Replies


Spree, Rails 3, and theming
Category : Web Design

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


View Replies


using Spree as a framework rather than a plattform in rails
Category : Web Design

As I understand Spree is a shopping platform to build your shop.


I would like to use Spree partially and as a framework for some e-commerce features. The rest of my application has nothing to do with e-commerce and it is already running with it's own user authentication, but since spr


View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .