Skip to main content
Fallback
User Avatars with ActiveStorage Discussion
General • Asked by Chris Oliver
Hi Chris, great episode. I posted a question about ActiveStorage but I have not received any response yet. Basically what i want to do is upload images for a has_many_attached directly from a contr...
2
posts

Fallback
Current_account selection
General Solved • Asked by Stan X
Hi Guys, In the app I am building, my users have several accounts (though account_users). For each account they can create, view, update... articles I would like to have a global selector at t...
4
posts

Fallback
Format of created_at for date range using Searchkick
Rails Solved • Asked by RJ McCollam
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...
15
posts

Fallback
ActiveStorage trix image before record exist.
Rails Solved • Asked by alogach
Hi, I have a Concept model with description string field. Concept `has_many_attached :images`, I use them to store images that I dragged into trix wysiwyg. Everything works great if Concept a...
4
posts

Fallback
Using Yarn w/Rails 5.1, Getting 404 Error for jquery-ui-dist Images
Gems / Libraries • Asked by Garth Gaughan
I am using Yarn with Rails 5.1 I have successfully pulled in the css and js for `jquery-ui-dist` ui-icons are returning a 404 error in browser. All other functionality works as expected. appli...
1
post

Fallback
eval issue in Rails view
Rails • Asked by Mark Nelson
Any idea why the following code : produces this runtime error: (eval):1: syntax error, unexpected '.' The code correctly sets the instance variable @countries to the output from execut...
2
posts

Fallback
In-App Navbar Notifications Discussion
General • Asked by Chris Oliver
Thank you thank you thank you!
51
posts

Fallback
Advanced Search, Autocomplete and Suggestions with ElasticSearch and the Searckick gem Discussion
General • Asked by Chris Oliver
Chris, this is awesome!I was hoping you'd do a Searchkick/ElasticSearch video since you did the Ransack video!Thanks for all the great videos!
61
posts

Fallback
Embeddable Javascript Comments Widget Models - Part 1 Discussion
General • Asked by Chris Oliver
This is perhaps a bit of a newbie question but I wanted to ask your opinion on what are the things I would consider usually when it comes to using the approach you outlined in the video to sanitize...
1
post


Fallback
how to setup elasticsearch on Heroku?
Servers • Asked by Jeramae Bohol
I implemented the elasticsearch/searchkick on my app and it works on develoment. But it's not working on production. I did heroku logs and these are the errors: "Completed 500 Internal Server Er...
4
posts

Fallback
User Referral Program From Scratch Discussion
General • Asked by Chris Oliver
Just the thing I was needed for a current project, as usual, perfect timing Chris !
5
posts

Fallback
"Controller action should call one model method..." (?)
Rails Solved • Asked by Nelson
***Controller action should call one model method other than an initial find or new*** *This inspection warns if a controller action contains more than one model method call, after the initial .fi...
2
posts


Fallback
Webpacker
General • Asked by kamal pandey
Suppose I have vendor/assets/javascripts/a.js, vendor/assets/stylesheets/a.css, vendor/assets/images/a.png how can i import these in webpacker
1
post

Fallback
Parsing a API source, but the JSON souse is not updating (Cache?)
General • Asked by James Reece
I have coded a rake file to monitor and fetch data from a website that has this data in JSON format. The following is the actual source of this data https://www.thegazette.co.uk/company/07877158...
3
posts

Fallback
Rails changing HTML tag possiton (?)
General Solved • Asked by Nelson
Im using AdminLTE 2 to build a small dashboard and everything was working nicely until I started adding links to the controllers on my sidebar. On first loading the dashboard everything works as...
2
posts

Fallback
How can i upload images directly from controller using Activestorage in Rails 5.2?
General • Asked by JDavid17
Hello guys. For learning purposes i am developing a MangaReader using Rails. Now i would like to be able to upload multiple chapters at once, so from a given route say "Downloads/chapters", and wit...
1
post

Fallback
ElasticSearch connection refused
Gems / Libraries Solved • Asked by Mason Donley
I am going through the ElasticSearch with searchkick video and I have installed ElasticSearch on my ubuntu box as well as installed searckick and added searckick to my model. Everytime I try to re...
4
posts

Fallback
Search Filters/Report Generator
Rails Solved • Asked by RJ McCollam
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 thr...
4
posts

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.