Format of created_at for date range using Searchkick
12
Rails
I am using searchkick to build out a searchform that has a couple different parts to it and searches across multiple models. I am specifically trying to get a date range setup so the user can searc...
Chris Oliver replied
Solved
Got error message when I install Capistrano, stuck at deployment for two days.
23
Servers
I spent 2 days followed "Deploy Ruby On Rails onUbuntu 18.04 Bionic Beaver" , tried to deploy my rails project, now i'm out of my mind! I have repeated whole process for more than 4 times, always ...
Solved
Why isn't the Boostrap Dropdown not working in the menu after loging in ?
10
Javascript
Hello, I started an app using the Jumpstart shortcut but didn't find out how and why the dropdown menu with the user's photo wasn't working at all... I guess it is because of javascript but after c...
Damian Nelwep replied
Solved
How do I make an app to get a video by url from youtube download it / process it/ and uploaded to a local db?
2
Gems / Libraries
I liked the shrine tutorials and would like to use that as an upload to local disk solution.
I also found a gem called youtube-dl (https://github.com/layer8x/youtube-dl.rb) to help download from Yo...
Solved
Webpack assets doesn't work after deployment
15
General
Hi, I have been using happily rails until I decided to try stimulusJS. In the begining was great. I saw great value using it. The thing is the assets in the pack folder are not compiled when doing ...
Juan S. Caro replied
Solved
Webpacker noob - so I saw your video and im using rails 6
3
Rails
how does one go by installing https://github.com/metafizzy/isotope with webpacker?
```
yarn add isotope-layout
```
```
require('isotope-layout')
```
now I get an error
```
.col-md-9
...
Gus P replied
Solved
How to have one application for multiple URL's
1
Rails
We have a requirement where are rails application should be available on multiple domains like abc.com and xyz.com
based on domain it will only show a different logo all the rest is identical.
What...
Chris Oliver replied
Solved
fdsfds
0
General
Solved
How do I fork turbo and use it as my turbo version
1
Rails
How do I fork turbo and use it as my turbo version in a rails 6 app, I tried linking to the github of my forked turbo repo in package.json but it gave me an error couldnt find hotwire
Solved
I want to use devise gem for normal authentication and api authentication with devise-jwt gem. Is it possible?
1
Rails
Hi huys! I have an problem with devise-jwt gem. I have an default rails application. I want to use devise gem for normal authentication and api authentication with devise-jwt gem. But they can no...
Carlos Vazquez replied
Solved
Anchors being ignored when added to redirect_to path in controller
2
Rails
I feel I am missing something fundamental, or maybe just silly, when it comes to this issue.
I am utilizing linking to anchors in most places in an app I am building and all is working well with l...
Miri Lama replied
Solved
Search Filters/Report Generator
3
Rails
I am working on a project for a client that consists of a primary jobs model that has a number of forms (other models) within it.
I am needing to build out search functionality that searches throu...
RJ McCollam replied
Solved
Javascript function firing on page load
1
Javascript
Hi,
I'm building my first web app using Jumpstart and I'm running into a weird issue with the Javascript in one of my show views.
The issue I have is that instead of firing on click, the toggleC...
benjaminhouy replied
Solved
Newbie question trying to understand collection_check_boxes method
3
Rails
Hi, I am new to Rails, and I am trying to create checkboxes in a view. I came across this method:
https://apidock.com/rails/v4.0.2/ActionView/Helpers/FormOptionsHelper/collection_check_boxes
What ...
Pauline Velarde replied
Solved
Javascript not executing
2
Javascript
I viewed the easyAutocomplete video, which was great. I have the DB query and JSON assembly working. And the Javascript loads into the browser (Chrome DevTools let's me inspect it). But it never tr...
Solved
Command 'rails' not found but it used to work perfectly...
4
Rails
Hello everyone,
I'm having some issue I really don't know why... It is the second time I get this but, after working on a Rails project without any problem, I try to get back to it and it tells me ...
DineshKumar replied
Solved
Missing partial error but lookup_context find it.
0
Rails
Hi everyone,
I'm get missing partial error even lookup_context find it.
my partial is in `view/unicorns` and partials name is `_unicorn_card.html.erb`
here is my controller code:
```ruby
res...
Louis-Frédéric Schefer posted
Solved
How to insert QRCode into PDF using receipts gem?
1
Rails
Hi!
I'm using receipts gem to generate pdf. Also I want to insert QRcode for the payment (for example into footer section).
Tell me please, is there any examples of doing so?
I want QRcode to consi...
czepesch replied
Solved
Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?
2
General
I'm curious to hear how Chris would approach building simple_discussion if he had to start from scratch using Ruby 3.2, Rails 7 and Hotwire. Cheers! -Dan H
DanInBC replied
Solved
Where do I put a custom validator for a model?
4
Databases
I'm confused about where to put code for a custom validator I wrote, should I create a nested class inside the model file? or create a new file in models/concerns? I have the code but don't know wh...
Stéphane Paquet replied
Solved