Add Spree to rails app with devise



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 authentication, I said 'no'. Then it asked me for the user model which I stated 'User'.


Now I enter my app, I login it goes to the products page on spree. That's ok, but when I try to access the admin part, I get redirected to the products page.


My doubts are:
- Should I install anyway the spree_auth_devise gem?
- Should this be a


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


Spree set up errors: Devise Github Gem 'spree_auth_devise' & Rails Server
by ThF in Programming Languages

I'm new to Rails & wanted to try out Spree Commerce but have run into a few issues when trying to install Spree, I've been following the the Spree installation guide .


When I try to install Spree I get the below error:


C:UsersRossDocumentseCommerceSpree est_spree_s
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
How can I use devise's “warden” to authenticate a rack app in the same stack as the rails app that uses devise?
by KompuKare in Programming Languages

By the way, I'm using rails 3.


How can I use devise's "warden" to authenticate a rack app in the same
stack as the rails app that uses devise ?


My problem is that when I call this:


request.env['warden'] # nil :(

from the other appli


Rails/Devise - Customize flash message (devise.en.yml) with a link_to
by christiandsg in Programming Languages

I would like to customize the following flash msg provided by devise
in the devise.en.yml file:


devise:
failure:
unconfirmed: 'You have to confirm your account before continuing.'

with ruby code in order to get a link to new_user_confirm


Rails & Devise: Make Variable Available in Devise View
by frozentundra123456 in Programming Languages

I can't seem to find this anywhere... I'm trying to add a dashboard to one of my devise screens (registrations/edit), but I need to make some variables available. How do I do this without rewriting all of the devise controller logic?


rails devise - how to have 2 devise authentications for two different user models?
by Micah in Programming Languages

We have admin_users and we have regular users and they both have separate tables, models and devise logins.


It might make more sense to use devise against just one user table and use cancan for the roles but the application has already been created with two separate user tables and it


Rails/Devise - What should I test with devise and rspec?
by Ph33zy in Programming Languages

Many programmers use devise as their authentication solution and I would like to get their advice:


Devise is already tested, but I want to know if there is something to test by myself (integration/unit/funtionnal tests?) for a standard devise integration with my knowledge
(I'm


how to integrate refinerycms with existing rails application using devise 1.5.3 and rails 3.2.8
by beebob in Programming Languages

i have rails application using rails 3.2.8,devise 1.5.3 and also using locales (en,pt).i just want to know how to integrate refinerycms with this application as devise 1.5.3 is not supported by refinerycms 2.0.8.plz tell any version of refinery compatible with devise 1.5.3 or any easy solution.<


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


HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .