redirect loop on ActiveAdmin and authorization with cancancan
12
Gems / Libraries
When i try navigating to http://localhost:3000/admin i get "This webpage has a redirect loop"
and also my logs I have
Started GET "/admin" for 127.0.0.1 at 2015-11-25 17:58:35 +0300
Processing by...
JM replied
Devise no current_user data after update
1
Gems / Libraries
Forum Threads Controller
class ForumThreadsController < ApplicationController
before_action :authenticate_user!, except: [:index, :show]
before_action :set_forum_thread, except: [:index, :new, ...
Chris Oliver replied
Subdomains Email reset with Devise
1
Gems / Libraries
Hi Chris so im trying to work with subdomain and maindomain email reset password
I use the code on devise and for subdomain work like a charm but for the main domain I get this erro because they do...
Chris Oliver replied
Activity Feed with Public Activity Gem ?
1
Gems / Libraries
Hi Chris,
Thanks for the tutorial. It really helped me a lot. Can you please post a video about How to install the public activity gem to show all the activities done by the user. Thanks a lot again.
Chris Oliver replied
Stripe Payments
3
Gems / Libraries
Hey, love the new Stripe video but I'm stuck on something.
I am getting the error: uninitialized constant ActionView::CompiledTemplates::STRIPE_PUBLIC. It's having a problem with my meta tag which...
Chris Oliver replied
Making a gem like thoughtbot's refills gem
3
Gems / Libraries
Heya,
I saw on HN the other day that USDS has released a styleguide/component system based off of Bourbon. I'd like to toy around with making a gem based off of the Refills gem that allows me to l...
Chris Oliver replied
twilio as verification mobile systems
2
Gems / Libraries
Hello I'd really like to implement the following tutorial (verify phone number by sms)
http://fullstackstanley.com/read/verifying-mobile-phone-numbers-with-rails-devise-and-twilio
It doesn't work...
corrado tuccitto replied
Build a Devise Model in another controller
4
Gems / Libraries
Lets say we have a Company model which accepts_nested_attributes_for User (devise Model)
How do we Save both a company and User model having that a Company has_many :users and a User belongs to a ...
Roman Storm replied
Multi form devise registration setup with admin approval
2
Gems / Libraries
Scenario:
Implement a registration with multiple steps and after all is complete, display "We will approve your application" at the end and wait when an internal admin (only to owners of the app) w...
Roman Storm replied
API TOKEN DEVISE
7
Gems / Libraries
Hi, I have a question about which gem is better, devise_token_auth or devise_token_authenticatable?. I see that devise_token_auth was update recently while the other not.
Michael Stitt replied
Multitenancy with the Apartment gem
5
Gems / Libraries
Hi Chris Im trying to apply the Multitenancy to a exiting app. at the moment the tenant get create. how can I use the exiting that to be one of the tenant. When I enter with a exiting user to the t...
Francisco Quinones replied
Solved
Admin for the specific case
2
Gems / Libraries
Hello,
I have a problem and just missing the solution.
In my project I have user accounts made in devise that are connected to **Case** model through **Work** model (with *is_admin* boolean attribu...
djyanee replied
Refile :fill does not work for me
1
Gems / Libraries
I have the refile gem connected with aws by following the instruction on their github. For an image i would get something like
/attachments/store/78b928c7897e3b12de80cf1ffdfdfdfdf/image.jpg
w...
Chris Oliver replied
Using Devise in Consumer App
4
Gems / Libraries
I have two applications. One is Rails API consumer app and another is a legacy PHP one - which responds with JSON API. APIs are used for user registration and login. Can I use Devise for authentica...
rabin prithvi replied
How to make a good Sidekiq job?
2
Gems / Libraries
From the [Sidekiq wiki](https://github.com/mperham/sidekiq/wiki/Best-Practices#2-make-your-job-idempotent-and-transactional), a Sidekiq job should be idempotent and transactional. How should we imp...
shakycode replied
Flexible Nested Attributes
5
Gems / Libraries
I'm working on a practice "Magazine" application, that has **Issues** with nested attributes of **Articles**, which has multiple nested attributes that are **Content Blocks**, which can be one of s...
Chris Oliver replied
Mobile App with Devise Facebook OmniAuth
2
Gems / Libraries
My Rails 4 app is using Devise and Facebook OmniAuth. The web app is working perfectly. Now I want to make a iOS app to consume my rails app's API.
Instead of telling iOS users to type in their a...
shakycode replied
Import CSV data using RubyZip and Postgresql COP
7
Gems / Libraries
I've checked out the videos on importing data to your rails app. Very timely as I am deep into this feature bringing data from all our legacy systems into my rails app.
My issue is I am importing ...
Chris Oliver replied
Best way to render a page as a PDF
5
Gems / Libraries
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?
John van Arkelen replied
Best way to render a page as a PDF
0
Gems / Libraries
I have tried several methods including PRAWN to generate PDF's. It seem there must be a better way. What is you recommendation?
Damon Delcoro posted