Search Results for "how-do-i-create-a-qr-code-lead-authentication-strategy"

Lessons





















Forum Threads

How do I create a gem for my ViewComponents that include Stimulus?

0
Gems / Libraries
Can anyone point me at a guide or tutorial that will help me built a gem that does the following: - Allows me to have my ViewComponents - Styled with Tailwind - Interaction with Stimulus controlle...
Mark Stephenson posted

How do I create a sortable & searchable table with pagination?

2
Rails
Not really sure how to set this up with the different query params. Could someone point me in the right direction? Thanks!
Kevin Gutowski replied

How do I create a filterer with checkboxs that dynamically search for results?

1
Rails
Hey everyone, I am attempting to build a checkbox filter with Rails 7. I would like to render a list of businesses on a page and have a side panel with a bunch of checkboxes. This side panel woul...
jackjohnsonpo replied

Rails for Beginners Part 32: Edit and Destroy Tweets Discussion

13
General
Oddity I'm running in to, but can't see why. Once the delete button is added via .persist?, the schedule button ALSO seems to delete the tweet as well (without any warning). If the persisted? is ...
Nick replied

How do I create an input field for a polymorphic association?

7
Rails
For the sake of this question, lets assume I run a hotel and I want to make a system that manages the bookings of my hotel rooms. While most of the time I book `Guests` in my hotel rooms, `Employe...
Solved

How do I set a start value for 'serial' or sequence in psql

0
Ruby
Hi everyone, I have a migration like this: ``` def change add_column :orders, :order_number, :serial end ``` and when I create a new record in the database I get 1,2,3 etc., What I need is ...
Squealer182 posted

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

Question regarding creating new items with belongs_to association!!

0
General
Hi, I am completely new to Rails and would like some help. I am trying to implement a to-do list using Rails as my backend and React as my frontend. Initially, I created a model and controller that...
MasonLogan posted

How to create a progress bar with vertical lines between elements

0
General
I'm having a little trouble creating a css effect and don't even know what to Google to find code snippets. https://birthdaywishes.onl/ I have been tasked with creating a progress bar. The bar has...
MarvinToran posted

How do I create localized dropdowns with countires and cities?

2
General
Hi, I want to create a webpage (localized) with venues that have address (geocoded) and than search them by dropdowns/search field(autocomplete) in the area of X miles/km around location, so that ...
Casey Morris replied

How do i create and custom module with view

1
Rails
Planning to create a generic module for filters in my app. Is there a help where i can see how to create the modules and how the file structure would be for that?
Ivan Raszl replied

how do i create two users at the the same time with two different session? P.S I am trying to create a game where two players are created at once being of same class(Player)

1
Rails
I am trying to create a game where two players are created at once being of same class(Player).
Leroy Diaz replied

How do I create a new rails application with ubuntu and postgresql

0
Servers
I'm currently trying to create a new rails app. I can easily do this with `rails new app --database=postgresql` but when I change the `database.yml`, I'm using the same user for every application f...
Arnas Klasauskas posted

How do I structure a Conversation between two models?

6
Rails
I have a `Store` object that has an `email_address` attribute. Using the logic from and [How To Build A Form](https://gorails.com/series/how-to-build-a-forum) and [Handling Inbound Email Parsing wi...
Taylor Cooney replied
Solved

How do I create a parent record from the child when the parent doesn't exist?

1
Rails
Hi team, I've trying to model books, chapters, and notes. I have the following: ``` class Book < ApplicationRecord has_many :chapters has_many :notes end ``` ``` class Chapter < Applica...
Nino Rosella replied
Solved

How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?

17
Rails
Hello everyone, I searched but didn't find anything and was hoping like I said in the title of this subject, to find a way to get the url displaying a user's profile of a client's app to be like u...
Chris Oliver replied
Solved

How do I create a pivot table that shows sum of like-items from the primary table and be able to filter the pivot table and appends calculation on the chosen dates?

2
Rails
I have a database table (orders table) that is densely populated with order information as it happens from users with their ids, and I want to get the sum of fees based on different currencies, and...
Chris Oliver replied
Solved

How do I create a delete button for images uploaded with Active Storage

2
Rails
I am creating a user interface for users to upload images and delete ones they've already uploaded. It is using Rails 5.2 Active Storage and Amazon S3. The issue I am experiencing is similar to t...
Dmitriy replied
Solved

How do I display several posts in related "weeks"

17
General
I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked and if I click o...

Guidance how to structure models for site credits / user balances

2
Rails
Dear GoRails-Community,Super happy to finally have joined! Thanks Chris for building the site and community. Really love that it allows to discuss approaches which always gets downvoted on SO :)I'm...
Dolf replied