How i can do multiple login with devise?
Hm i will try to do something like this: I will create new rails devise for manager than i will make association between manager and company has_one. But from this point how i can connect login for...Stefan Dabizljevic replied
Devise User with separate Profile
Hey Benny, You can redirect after sign up the a ProfilesController new action. If you want to enforce it, you can set a `before_action :require_profile!` that redirects users to that until they ...Chris Oliver replied
How to use devise with Adminitrate?
Thanks @chris, i found the solution here ==> https://github.com/thoughtbot/administrate/issues/225Oyewole Samuel replied
How to generate PDF based on search using prawn in ruby on rails
I found that this works ``` "btn" %> ``` I get this ``` http://companydemo.lvh.me:3000/projects/conroy-schamberger-and-crooks/incidents?action=index&commit=Buscar&controller=in...Francisco Quinones replied
Single sign in Devise STI
Hey there I have an STI on devise model which is working but there is an issue with how to manage what menus to show when different types of users are logged in here is my code user.rb ...John Munyi posted
Paperclip - Watermarking for dynamic image sizes
I'm looking to add watermarks to all images that are uploaded to my application. They can be of several sizes and this is where I'm running into trouble. This is my watermark processor: m...Michael Victor posted
Devise models and Single table inheritance and custom class methods
So i made some progress and changed the above code to: now the "admin? is undefined" error is no more but still my method isnt being evaluate...John Munyi replied
2 Factor Authentication
Oh cool, I'll definitely give it a look. I think that would be really awesome to support Google Authenticator, SMS, etc. I imagine this gem is designed to be fairly generic so you can support which...Chris Oliver replied
How do i collect the users emails into mandrill ?
Thanks for your help Chris :) !!!Ahmed Althani replied
Simple Form - Make label appear after input
I think that makes sense and a good approach - to mix and match! It worked for me in this case! Thanks!Michael Victor replied
Adding a Admin Interface to devise
Hi there, first of all: I'm pretty new to Rails, so please don't blame me if I ask a stupid question :) I use devise + cancancan for authentication and authorization. The user model is alread...Sascha M. posted
redirect loop on ActiveAdmin and authorization with cancancan
settle for activeadmin with device for Authorization and sorcery for the App .. not ideal but got the job doneJohn Munyi replied
Devise no current_user data after update
Hey Erick, did you get this figured out? I was doing a bit of traveling for the holidays and missed your post.Chris Oliver replied
Devise: current_user not saving to @forum_post.user
It sounds like your `forum_post.user.email` isn't working. Your forum_post must not have had it's user_id set in the database. It looks like your controller is setting it properly, but you should c...Chris Oliver replied
Subdomains Email reset with Devise
You'll want to probably use an if statement there to send it without the subdomain option. I know you can include helpers into the mailers so that could be a nice place to put the logic for the sub...Chris Oliver replied
Activity Feed with Public Activity Gem ?
I can! In the meantime, check out Ryan Bates' episode on it: http://railscasts.com/episodes/406-public-activity A little old, but the gem hasn't changed much.Chris Oliver replied
How do I connect multiple devise apps for a single login to any of the apps?
Does anyone know if the solution proposed by Thomas Bush works with rails 5 or is the code to change much? Thank you I've find the gem 'doorkeeper'!Marco Beffa replied
Always the easy things! 😉 Last night I got tripped up on making a pluralization mistake for like 45 minutes. :)Chris Oliver replied
Making a gem like thoughtbot's refills gem
Octobuild sounds like an awesome idea! I hadn't heard of it. Thanks for sharing that! Also awesome start to the USDS project! It looks great so far. Nice and simple. :)Chris Oliver replied