Remember Me in Devise fails to Login User
Same problem. Rails 7.1.3.2 Login without remember me function OK. It doesn't work with it. Solution: Revert to Rails 7.1.0 + Devise 4.9.4
Szedmák István repliedSame problem. Rails 7.1.3.2 Login without remember me function OK. It doesn't work with it. Solution: Revert to Rails 7.1.0 + Devise 4.9.4
Szedmák István repliedSounds like you checked pretty much everything! That's all the things I can think of (and more) so I wonder what's up with that. One last thing you might check is this: https://github.com/ruckus/a...
Chris Oliver repliedThanks Chris I did have a play with total_count but couldnt quite get it right. Much appreciated,
Simon P replied • SolvedThis is good work, especially for a first pass. I'd also try to avoid the `case` statement in your controller. I mean if it works, then great. But I usually like to put more lengthier logic in t...
shakycode repliedThis is a personal project and not a paid gig. So I'll give it a shot, if not I'll think of something else.
Ben John Bagley repliedAfter some digging I found and chose this gem: https://github.com/jsonapi-serializer/jsonapi-serializer Seems its fastest and still maintained. Not sure how it will be in long run.
regedarek repliedSetting Personal Development Goals: Armed with self-awareness and insight into their Enneagram type, individuals can set meaningful personal development goals aligned with their values and aspirati...
Jasper Wilde repliedi got "this site can't be reached" when i check using sudo systemctl status nginx: active (running) since Tue 2024-04-16 11:08:56 UTC; 27min ago deploy@srv508193:~$ sudo ufw status Status: activ...
Hamdan M repliedthank you :) i solved it by changing the yui requirement for sass !
Sebastian replied • SolvedHey! I really appreciate all these screencasts, happily pro user. For this I'm getting an "undefined method 'likes'" on the user model so i'm a little stuck. Any ideas why?Cheers! :)
Juanmnl repliedNewbie question...I have two models a user model and a coupons model that are associated (coupons belong to user). How do I include the export of a parent model (like user.name field) in the CSV a...
Nathan Anderson repliedI already had a User model with different roles handled by cancan gem. Now i have implemented active admin gem in the same User model with another role. Now i could not figure out how to restrict a...
Shaheryar Imtiaz postedIs it working properly? ``` @space_image = ActiveStorage::Blob.find_signed(params[:id]) @space_image.purge_later ``` I've found this way doesn't work correctly — the image still connected (.attach...
Dmitriy replied • SolvedOk, I solved the login redirection issue by using active_for_authentication? in user.rb to return true and allow the login only if the user is the owner in the case the account is expired. ``` ...
Luca Rossi repliedok, I was looking for section 8 in the stripe docs, was LOST in the first 7 md files.
Aaron repliedI just posted an answer that hopefully works for you. The create action is where you want to add the logic to set the role, active, and default_role attributes. Since your form submits a role objec...
Chris Oliver repliedIf you're looking for something quick and you already have it, ActiveAdmin might work alright. Looks like you'd have to add the Javascript to ActiveAdmin yourself, similar to this post: https://sta...
Chris Oliver repliedI'm working on a Rails 6 app, and want to update page view based on a dropdown value selected using XHR. Dropdown must use **GET** method coz I am calling **index** action. I am using form_with wh...
Maaz Siddiqui postedNew issue posted here: https://github.com/activeadmin/activeadmin/issues/4264 Have a look at my dummy app: https://github.com/jasper502/aa_with_pundit_user Unless I am missing something obvious...
Dan Tappin replied