Skip to main content
Looking for Rails work? / Hiring Rails developers?
General • Asked by Chris Oliver
Similar to the Hacker News thread, I thought we might start up a thread for anyone looking to hire a Ruby / Rails freelancer or if you're a freelancer looking for work. *Please lead with either ...
46
posts

Bootstrap class on individual tags in tag list
General • Asked by Gerard Donnelly
Hi Guys, I am using the "acts as taggable on" gem and it's working perfectly. The issue I'm having is trying to style the individual tags in the list. I have the code below but it applys the pi...
1
post

Using VueJS for Nested Forms in Rails: Part 1 Discussion
General • Asked by Chris Oliver
If I want to upload an image to the Team, how would it be? I'm trying to do it but I can not.
4
posts

Refactoring controllers to keep them RESTful
Rails Solved • Asked by Nino Rosella
Hi gang I have a feature where a user can query the Google Books API with an ISBN number and get the book as a response. I have this all working nicely, but I'd like to refactor my `Books` contr...
4
posts

how do i mount a full Vue template into my rails app
Rails • Asked by oomis
I'm preparing for a hackaton and my teammate built a Vue app for the frontend. I've installed rails and vue webpack, and Vue is working well. But I don't know how to incorporate the Vue fronten...
2
posts

in app notifications using stimulus and ujs
General • Asked by Joel
I am attempting in app notifications similar to how Chris did it in the tutorial but trying to update it to use Stimulus but i my data-target doesn't seem to be in scope in the ajax success callbac...
3
posts

Best Gem and Instructions for setting up followers one way.
General • Asked by Gerard Donnelly
Hi Guys, I have an artist model and I want users to be able to follow them without being followed back. Is there a gem that I can use to do this and is there any documentation on setting that up...
3
posts

Search Filters with ElasticSearch Aggregations Discussion
General • Asked by Chris Oliver
This has been very helpful for a project I'm working on. Thank you. On mine, I wanted to add checkboxes to be able to select multiple keys. For anyone else looking to do the same, the solution I ca...
12
posts

Dynamic Nested Forms with Stimulus JS Discussion
General • Asked by Chris Oliver
Yes this is what ive been waiting for!
20
posts

How do Rails developers work with JS developers on a project?
General • Asked by Umar Ghouse
Hi there! I've been the only developer at my workplace for a while now and I've been coding in Rails, primarily. I don't have any formal qualifications in development, but I've been self-learnin...
6
posts

@mentions for Users with ActionText in Rails 6 Discussion
General • Asked by Chris Oliver
This is a great video. Is it possible to remove jQuery if you are using Bootstrap 4? I know it's a dependency but maybe if you are not using all aspects of Bootstrap you can remove it. Anyway...
7
posts

Using the Trix Editor plus File Upload Attachments Discussion
General • Asked by Chris Oliver
Great vid, can this be done with the carrierwave gem?
42
posts

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 !
12
posts

How do i create these associations so they are sortable?
General • Asked by Twig
I need some help figuring out how I should associate my models. I have three models: ``` class Series < ApplicationRecord has_many :modules has_many :episodes end ``` ``` class...
1
post

Adding an inline style to a Datetime_select field in simple_form
Rails • Asked by Lee Sheppard
How do I add an inline style to a Datetime_select field in simple_form? What I would like to have worked (this is in Slim): `= f.datetime_select :published_at, style="width:auto;"` but this ...
3
posts

Install Bootstrap with Webpack with Rails 6 Beta
Javascript Solved • Asked by Shawn Wilson
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack **Step 1:** `yarn add [email protected] jquery popper.js` ...
4
posts

Regex getting hashtags
Ruby • Asked by Stephen Sizer
I'm wanting to capture all hastags from the richtext field. I thought I had a solution until I came across testing where the richtext editor put HTML entites into the markup. ``` /#([\w]+)/ ```...
1
post

How do I retrieve a file from a compressed nested directory?
Databases • Asked by Morgan
I'm trying to set up a cronjob that imports my production PG database into staging, but I'm having trouble accessing the.sql in the resulting postgresql.tar.gz as is its five directories deep with ...
1
post

Improving In-App Notifications Discussion
General • Asked by Chris Oliver
+1 for the ActionCable episode!
23
posts

Deploy Ubuntu 18.04 Bionic Beaver Discussion
General • Asked by Chris Oliver
Thanks for this article, Chris! I'm struggling to get past the step of installing NGINX with Passenger. The command sudo apt-get install -y nginx-extras passenger...results in a message about sever...
28
posts

Subscribe to the newsletter

Join 20,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.