
Sending emails not working, no errors found in the terminal
2
General
I'm new on rails, I would appreciate any help. This is the repository of this project: https://github.com/felixpro/Kadra
when a client signup an email is sent to the mail of the admin to approve t...
Cassandra Pace replied

Why does my bootstrap not work across the application. Rails 5
0
Rails
I'm starting a project with rails 5 and the first thing I did was add the bootstrap to rails 5. I added the gem and imported it into application.scss. I generated a devise Admin and the bootstrap w...
Thomaz Wanderbruck Schmidt posted

How to Setup Multiple User Models using one login with Devise.
1
Rails
Hi Chris
I joined GoRails just recently and am excited to learn more about Rails.
I have an app that has 3 different users ( vendor, couple and admin) and each user has their own Dashboard and au...
Alan Reid replied

How do I write the correct association?
0
Databases
If I wanted to have a "user_type" column in my "users" table that references to another table called "user_type", how do I write the correct association in rails? For example if my user_type is 1 a...
Arzee posted

Dealing with Recursive Models
1
General
User wants to search for classes nearby according to date similar to [classpass](http://joliepagaille.com/wp-content/uploads/2014/11/Picture-1.png)
### Backend
Form fields for creating class by ad...

Rails ActiveAdmin reset password token is invalid
0
Rails
I have a Rails API with ActiveAdmin, using this tutorial as a base to get started: https://blog.heroku.com/a-rock-solid-modern-web-stack
When a user chooses the 'Forgot your password?' link in the...
Terence Devine posted

User create Dynamic Role base
2
General
Hi! So my app uses CanCanCan and Devise for working with users. Now the app needs to have a feature where users can create role. How can I approach this new task.
Example:
Admin(User) can create ...

What is the best way to work with user roles?
2
Rails
What is the best way to achieve this when people sign up? I have a user model and an account model. I want to have 3 roles in my application. The administrator, store_owner and end_user.
A store o...
Jul Zyw replied

Inline Editing with Turbo Frames in Rails Discussion
5
General
How would you abstract the polymorphic path if you wanted to use the inline edit/fields partials both in forms that are namespaced like in an admin route (e.g. a form at admin/settings/show) but al...
Jeremy Bray replied

Devise - How do a logged in user change the password
1
Rails
HI,
I am new to Rails. I am looking for your kind help to implement change password option for a logged in user. I do not want to use registrable option as, these users are created by admin and wan...
Surej GANGADHARAN replied

How to implement signup page for devise for two types of users?
0
Rails
Hi there,
I would like to implement STI for devise which will have two types of users. The first type of user is allowed to signup and I have called this as "PublicUser" and the second type of user...
Ponciano Vieira posted

activeadmin with devise_invitable
4
Gems / Libraries
Hey everyone,
I know... I'm still using AA... Anyways, I'm looking for a complete guide on being able to invite my non-admin devise users through the admin panel. Strangely I can't find a single, ...

Business page with cms
5
Rails
Hello,
I'm a beginner rails developer. I wanna do a business page for my friend. The task is to have a business page with cms to management a content, but in this cms admin user should have been a...

Survey - adding options though nested models
1
General
Hey guys, a while ago, I tried to follow a railscast tutorial(notably http://railscasts.com/episodes/197-nested-model-form-part-2?view=asciicast) on nested models where i was trying to build a sur...
David Becerra replied

User-customizable roles? (best practices, ideas, examples)
1
Rails
I'm looking to implement a user-customizable roles feature in an application and I was wondering if anyone had any ideas, experiences, or good examples from other apps. I'm looking for ideas for bo...
Sean M replied

Sponsored Post Model?
0
Rails
i want to build a feature where on certain pages I could highlight different posts or jobs. Think of it like a sponsored google ad at the top of the rankings or a sponsored job post.
It should be ...
Ketan Anjaria posted

Restrict Users to have only one post ..!!
0
Rails
I am creating an application where User will login into their account (using devise gem for authentication) and add their personal details/upload documents and obviously every user have their pers...
gurupal singh posted

How to manually manupulate data in the production database?
6
General
Hi,
I just successfully deployed my Rails app to a Digital Ocean VPS, following the Deploy Rails guide on this website. Many thanks go to Chris Oliver and James Dullaghan for their help and patie...
Ariff Munshi replied

Pundit for RESTFUL actions on Model fields
3
Rails
Hey does anyone know how to use Pundit to control a users ability to edit a field. I'd like all users to be able to change simple things like their name but I want admins to be the only one's who c...
Chris Oliver replied
Solved

Using form_with produces odd results for nested namespaced resources.
0
Rails
I'm having an issue with sharing a the `new` and `edit` form for a shallow nested resource in a module/namespace.
Most everything works as expected. The issue I'm running into is using `form_with`...
Chris Born posted