Share session across multiple Rails micro-services using CookieStore

1
General
Has anyone successfully made multiple Rails 6 applications share the same session cookie? I have two applications: login and admin. Login authenticates the user and sets a session cookie after whic...
Ricky replied

Why is a GET verb being used?

1
Rails
I have the following error occurring after selecting a link. ActionController::RoutingError (No route matches [GET] "/admins/delete_user"): But the link is constructed as follows: <%= li...
Brent Phillips replied

Can I assign dates to display a link?

1
General
Hello, I'm doing an application where I have to show a link. The administrative must be able to assign the date where it is displayed and hidden. Sorry for my English. I think it's done with the ge...
Alex Musayev replied
Solved

How do I make a link_to from notice notification to pages created the notification?

1
General
example: I have a discussion page and when discussion created by admin, notification sent to all users and I want the users to go straight to the discussion page to read the created discussion by ...
Wakgari Baja replied
Solved

Devise Masquerade with multiple Devise User Models

0
Rails
Hi All, Has anyone used devise masquerade before with multiple devise models. I have and Admin model and a User model. I'm having issues and when I try implementing it, I can't seem to login as a...
Stephen Sizer posted

ServiceNOW and KB article with MS Chatbot

0
Servers
We want to leverage the ServiceNOW Knowledge Base/articles to fetch articles from a customer ServiceNOW production instance through a Chatbot. As ServiceNOW administrators, how do you propose we w...
MUKESH KUMAR posted

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

Hotwire Not Working Inside of Namespace

0
Rails
This seems like an easy fix, but I am not sure why its not working. I have an admin dashboard using Hotwire, but I can't seem to create records for my gym model (There are no errors, and it will wo...
Brian Gilbank posted

How do I find the next and previous lesson?

1
General
I am currently building an LMS and am looking to add in the ability for the user to navigate to the next lesson. In the admin back end when a teacher adds a lesson they are able to give it a posit...
Chris Oliver replied
Solved

CanCanCan, Pagy, and MeiliSearch, How to combine the 3 gems?

5
Rails
I'm working on a project that has Cue model that could be accessed and searched by multiple roles like guest and admin. The authorization happens using CanCanCan gem based on some logic written in ...
mariakennet replied

Rails 6/7 Template Recommendations for SaaS

1
Rails
Hi 👋 Can you recommend any good SaaS oriented (e.g. including user authentication, admin panel, stripe integration, basic landing-page) templates based on Rails 6/7 which don't require a yearly su...
Chris Oliver replied

Hatchbox: teams

0
General
Hello, what are your plans for developing Teams feature on Hatchbox? Currently I can invite someone by giving them status "admin", "member" or no status at all. The problem is, any invited person h...

Render :new form is blank

0
Rails
In my create method I have the following: respond_to do |format| if @purchase_agreement.save format.html { redirect_to admin_purchase_agreements_path, notice: 'Purchase agreement was succes...
Amanda posted

How to set up Email newsletters

0
Rails
So this is less a question on how to set up integration with sendgrid or mailchimp, and more along the lines of how would you go about creating an admin setup to create dynamic newsletters without ...
Alex Deering posted

Rails micro-services and authentication domain to use with devise

0
Rails
Hi! I'd like to split my rails application to microservices, such as - main app 1 - main app 2 - main app N - authentication and account management - administration console - marketing console (bla...
Alexey Poimtsev posted

Best way to create a report/spam button?

2
Rails
Just looking for ideas on the best way to create a report or spam button/link on posts and comments. And do you typically have that notification sent to an in program inbox to an admin email, etc....
Ryan Carter replied
Solved

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

BCrypt: Can't validate passwords

1
Rails
I can't seem to get BCrypt to validate my passwords. I'm trying to get back into rails with 7. Can't seem to get passed password validation for my Admin: As I understand it. It's a very straight ...
sweedledee replied
Solved

Warden and System Tests are driving me insane.

2
Testing
Im using Warden for authentication and are now trying to write system test. But when I run a system test I get the following error: Failure/Error: if current_user.admin? NoMethodError: ...
Niklas Nson replied
Solved

Please help!!! My App is Down

2
Rails
Hello my app is down this morning saying ***500 Internal Server Error If you are the administrator of this website, then please read this web application's log file and/or the web server's log file...
Chris Oliver replied
Solved

Want to stay up-to-date with Ruby on Rails?

Join 90,822+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.