
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

Devise with additional user fields, nested models / attributes and custom routes
3
Gems / Libraries
I have posted a few related questions on this but now I am at a road block. I had this system working quite well and then I went to add to it and now I broke it real good!
First off I just discov...
Chris Oliver replied

Updating Nested Form / Model Attributes
1
Gems / Libraries
I have a nested form on a Devise signup page. The user signs up and then they also fill out their company info (Name , Address etc.). My User and Company model are associated through a Role model...
Chris Oliver replied

Using Pundit with ActiveAdmin
14
Gems / Libraries
Hey, I'm using pundit with active admin and getting this error message
Pundit::AuthorizationNotPerformedError in ActiveAdmin::Devise::SessionsController#new
In the pundit video you show us
in...
Dan Tappin replied

Implementing Markdown Support in Forums
3
Gems / Libraries
Hi Chris,
I watched all of the videos in the Forum Series -- nice work!. I'm wondering if you're still planning on getting around to showing us how to implement support for Markdown within the fo...
Michael Stitt replied
Solved

Token Auth API with Devise
6
Gems / Libraries
I just watched your screencast on using Devise for user authentication and learned quite a bit. However, I not only want to create a web app but I'd also like to provide a JSON API as another way ...
Chris Oliver replied

Subdomains
4
Gems / Libraries
Let's say I have a scaffold called 'blogs', and blogs have an attribute called 'subdomain'. I want to have each blog be hosted at a subdomain; let's say I have a blog with a subdomain of 'gorails',...
Chris Oliver replied

Is there a well-liked solution for handing nested model forms?
6
Gems / Libraries
I am not sure what the consensus is on the best approach to handling nested model forms is.
The solution in https://gorails.com/episodes/forum-nested-attributes-and-fields-for can work, but doesn'...
Rutul Dave replied