How do i create a rails app so admin creates user accounts

1
Tips
Hello there I am new at rails and I got kinda a suggestion/request to make an app similar to slack, basecamp etc.. For the company ( where i am an intern). So I got no idea how to make the part whe...
Phyllis Gibson 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

Ordering with included models

1
Rails
Is there a way to order results using a column from a model and a column from a related model via includes? Here is a scenario: A product that has many parts, each of which has a numerical value a...
HP replied
Solved

gem_group in application template

0
Rails
Is there a a way to use ``` gem_group :development do ... end ``` ``` gem_group :development, :test do ... end ``` in application template file without duplicating those groups ...
dk posted

(Active Storage) How to check for an existing blob in another AWS bucket?

1
Rails
Hi there, I'm trying to do something quite simple, which is: - A user uploads a video to a chat (a message can have many attachments) - The video uploaded automatically gets transcoded with Elast...
Chris Oliver replied

How do I find on an object in an api/v1/controller requested spec?

0
Testing
Hi there, this my first question =), am so happy!.... =) I have a this: RSpec.describe Api::V1::Controller, type: :request do describe 'on initialize' do let(:thing) { FactoryBo...
Diego Mota posted

Random Ruby — (Bi-)Weekly Email Newsletter

0
General
Hello there, good people! My name is Eugene and I'm the guy behind [Random Ruby](https://www.getrevue.co/profile/randomruby) newsletter. It's a free bi-weekly-ish email newsletter I've been making...
Frey posted

How can I get more options to get work for ROR web development?

1
Ruby
Is there any place where I can get good work for Ruby development?
William Kennedy replied

How Do I Use Selectize in Rails 6

3
Gems / Libraries
Hi there, I really love the selectize tutorial and would love to use it in a rails 6 application. What changes do I need to make to the tutorial. can i just change `//= require selectize` to ...
Rafal Siepak replied

What are your Recommended Linters?

0
Gems / Libraries
Hey there - I often get syntax errors in my ERB templates, is there a guide to recommended Rails linters?
Christopher Lam posted

How do I check if a model inside a model has been liked?

1
Rails
Hello there! I implemented likes to my app using this tutorial https://gorails.com/episodes/liking-posts. I went a little bit different route though. I have PollItem < Poll. Poll has_many :poll_...
William Murphy replied

Hatchbox not returning correct credentials

0
Rails
Hi there, I have deployed an app successfully but the app crashed immediately I tried to login. I ran `bundle exec rails c` and it seems like the values aren't being returned (returns as `nil`) fr...
Christopher Lam posted

How do I add Zurb foundation-sites using webpacker?

5
CSS
Hey Jason! For the most part, you'll just follow their instructions which is usually `yarn add package` and an import or require of the package in your application.js. https://foundation.zurb.co...
Jerome . replied

Not able to Subscribe

0
Ruby
Hi there! Im pretty new to programming and have been taking the Multiple Chatroom lessons but.... Getting this error...can somebody help me with it? ```` Started GET "/cable" for ::1 at 2021-05-14 ...
Danniel Tung posted

Secure an Open Rails API skiping the login process for thirdparties...best strategy

0
Rails
Hi there, I've got a Rails API that I would like to open to third parties. Basically I've got a platform where third parties can access it via API to retrieve a product list with name,category, st...
Eduard Garcia posted
Solved

How to resolve 403 Forbidden error when rendering sign-up view for admins?

1
Rails
Is there a way to resolve 403 Forbidden error when rendering a sign-up view for admins? This issue does not happen to the user sign-up views. I am using Rails 6.0.3.5, Ruby 2.7.1 and Devise 4.7.3....
Alfred Montalvo Jr replied
Solved

get data from once working db

1
Databases
hi there, quite a while ago I threw together a modest linguistic rails app demonstrating use of Russian 4-letter words in action based on ruby 2.3.3 which was deployed and worked online OK until th...
Chris Oliver replied

Rails log is to big in production?

3
Rails
Hi there, I recently view a video here talking about how to subdivide your log into multiple parts. This video talks about how you can delete them after 7 days. I forgot the title, I can't found it...
Mylan Connolly replied
Solved

error with purgecss and Tailwind 2

3
Javascript
Hey there, I am facing the following problem. In production, purgecss is preventing all all css from `@tailwindcss/forms` from being rendered properly. When I comment out purgecss everything is wor...
Chris Oliver replied

Offline Functionality

0
Rails
Are there any resources / demos / tutorials etc. that cover offline mode for app? i.e. your app still needs to work where there is no internet and then sync back to the host when you connect. Any...
Dan Tappin posted

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

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

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