
[HELP] How configure "pundit" to display items belonging to a parent bond
1
Gems / Libraries
I lost hours to solve it, but I know, I am a newbie =X.
My use case is, if the user have role `:agency`, he can see clients. But I have to use the link between the client's agency to verify this. ...
Bruno Wego replied

Modern Webpack template on Rails 5.1
1
Rails
I have downloaded this [Adminator template](https://github.com/puikinsh/Adminator-admin-dashboard), which is modern npm/yarn Webpack theme. As stated in the template's homepage, install instruction...
Chris Oliver replied

2 sites... 1 DB?
8
Rails
Hello all! It's been a while since i was here, but i am back!
So today I would like to get some opinions on a project I am working on. So here we go...
What would be the best way to architect 2/3...
Fugee Ohu replied

User Authentication with Devise | GoRails - GoRails
9
General
what is debug view you have ? when you hit the error? u have some cool gem?
Ryan Bent replied

Forum Series Part 5: Email Notifications with Rails 4.2, deliver_later, and Previews Discussion
17
General
Thanks for sharing this. Didn't know about it.
Someone replied

Multitenancy with the Apartment gem Discussion
80
General
Hi, Chris video is not loading!
Prajjwal Gupta replied

How to add records to has_many :through association
5
Rails
I have three models called Site, Model and ModelSite as shown below. If i create a new model_site i can choose a site and model to save which works good but what i need help in is how can i choose ...
Wes replied

Stripe Signed Webhooks Discussion
1
General
Hi Chris,
I am trying to test (with rspec) a webhook url with a particular event.type in stripe - "charge.dispute.created". I've simulated it on the stripe dashboard test site and the webhook work...
Pam Willenz replied

Spree - What is the secret key of spree? Ask Question
2
Gems / Libraries
I am working on Ruby on Rails project, and I have already added the devise authentication,
and now I have added the spree in my project by following this Github/spree
I want to know that is the...
theshashiverma replied

Using custom scaffold templates for Rails models and controllers?
1
Rails
After getting tired of rebuilding all my default scaffold models, views and controllers I decided to create custom templates as outlines on various blogs / SA questions etc.
I created:
/lib/t...
Dan Tappin replied
Solved

Multitenancy with different account types
0
Rails
I'm just getting started on a multitenant application for the lending / finance space. I've looked into Apartment, Milia, Act_as_tenant, etc. but none seemed to really fit what I'm trying to do.
...
Robert Farese posted

CMS in Rails
5
Rails
I want to learn how to build a CMS or at least a blog engine with Rails.
I think that would be awesome to have a full course on something, especially for
beginners like me.

Single sign in Devise STI
0
Gems / Libraries
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
c...
JM posted

Handling multiple Account types
4
Rails
Hello Guys,
I'm doing some research on how to handle multiple account types. In our app, we will have two types of accounts. **Parents** and **Schools**. These accounts will never change types, fo...

Build Multitenancy App in a different way
10
General
I have seen many questions and topics in gorails about multitenancy but I am a bit undecided about which way to go. I would like my app not to carry the subdomain name in the url. Indeed, I wo...
BKSpurgeon replied

where to look for errors besides nginx error logs
3
Servers
Hi,
My currently deployed Rails app seems to have issues with uploading images to Amazon S3 storage through CarrierWave.
I get the familiar "We're sorry, but something went wrong." message.
I ch...
shakycode replied
Solved

Add a coment in a post ( how can I do)?
0
General
I'm coding my personal website , I have a backoffice where I can write blog_post ( title , content , category and date ).
I would like to make user comment my blog post without being logged in .
...
Federico Calarco posted

Stimulus Reflex not replacing element?
0
Rails
I have a view that has a search bar and a card deck.
I'm trying to use stimulus reflect to search the card deck and for some reason my card deck is not re-rendering.
Some of my view updated but t...

Rails has_one, belongs_to, join_table and nested form
0
Rails
I'm creating a User, Role and UserRole. A user can create a list of roles, and from the new user form, there is a nested form which populate a list of roles created, then the user able to select a ...
Lee Terng Gio posted

Rails 4.0 and Devise With Strong Params and Custom Fields Discussion
7
General
Short and simple. Thanks a lot. I've been looking for a solution all morning.
Someone replied