Skip to main content
The Rails db:system:change command Discussion
General • Asked by Chris Oliver
Great to change the database when we create default sqlite. that maintains the previous gem version ... generates confusion when looking for errors.
2
posts

Browser Back button click.
Javascript • Asked by Rahul Kumar Srivastava
I am using pagination and suppose I click on pagination count 3. It opens the table afterwards I any one link. After this I want to get back to same 3rd page so I clicked on browser back button, ...
1
post

How to Contribute to Rails: Adding rich_text field generators Discussion
General • Asked by Chris Oliver
This is so cool. You make it look so easy, and maybe it is. I should try committing to rails too.
2
posts

Issues running System Tests due to missing font?
Testing • Asked by Stephen Sizer
I have written two system tests for my current application and I have now hit a road block. ``` test "visiting the timesheet index without signing in" do visit timesheets_path ass...
1
post

How do I get bin/rails app:template LOCATION=.. to actually work? (rails template with existing app)
Rails • Asked by Jeff Helman
I remember Chris mentioning in the "Rails Application Templates" video that he was covering only templates for new rails apps because applying templates to existing apps is "complicated." I'm begin...
8
posts

Can a Rails app be converted into a Progressive Web App?
Rails • Asked by jun
I was looking for a way to create a mobile client for my Rails App / API. I came upon PWAs but I couldn't find any info on how to use it for Rails. Is it possible?
5
posts

Forum Series Part 7: Time Zones using the local_time Gem Discussion
General • Asked by Chris Oliver
strfti.me is the time zone website recommended in the video.foragoodstrftime.com is another one to check out.
23
posts

TypeError: $(...).chosen is not a function
General • Asked by Vikram Sharma
I am using Rails 6. I have installed jQuery, Bootstrap, & Popper as explained in one of the videos and Bootstrap is working fine. Now I have to use Chosen jQuery plugin. I installed it using...
1
post

Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
Rails • Asked by ahmidimohamed12
in your problem for rails server Could not find gem 'turbolinks (~> 5) x86-mingw32' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
1
post

Anyone had luck with Active Storage and Cloud Front?
General Solved • Asked by Dalton Cole
Hey everyone, I am working on an on demand video site that would (ideally) involve a user uploading a video via rails active storage direct upload to s3, then that video being served up via clo...
3
posts

How to build a chat app with Ruby on Rails
General • Asked by Shivangi Shrivastava
I recently put together a chat build tutorial where strangers can connect with each other via advanced group chats. I wanted to run it here and see if there's any suggestion or feedback to make it ...
1
post

Bidding App
Rails • Asked by Ryan Carter
I am building a website with a very specific way they want items bid on. That would be the initial bid will always be $125 and each additional bid will increase by exactly $25. So $125, $150, $17...
2
posts

How do I render a (Stimulus) modal without user interaction?
Javascript Solved • Asked by Jeff Helman
When a data value in my view meets certain criteria (e.g.: "< 0"), I want to render a modal (which is configured using Stimulus). I know this is a noobish question, but I'm not finding obviou...
3
posts

Segment Analytics integration, my home page pageview event is firing twice in rails 6
Javascript • Asked by Tom Connole
Hi, has anyone had the issue of their home page pageview firing twice for one page view in rails 6 when they've installed Segment? I've added the Turbolinks snippet, but not sure where the problem ...
1
post

How to Add Pagination with Pagy Discussion
General • Asked by Chris Oliver
I couldn't have explained it better - even being the author of Pagy. Thank you!
16
posts

Sr. Software Engineer (Ruby on Rails) @ FilmFreeway
Ruby • Asked by felipe
Sr. Software Engineer (Ruby on Rails) @ FilmFreeway $100k - $160k 0.05% - 1.0% (Equity) Las Vegas, NV Full Time or C2C NO Remote JD: https://newton.ai/jd/ff_sse Please send me an invitatio...
1
post

Rails & Vue.js Trello Clone - Part 4 Discussion
General • Asked by Chris Oliver
I am loving this series! This is such a cool project. The combination of acts_as_list and Vue makes it seem effortless.I had one minor suggestion for the code in the cardMoved function. Rather than...
8
posts

Update and limit the number of nested attributes in Ruby on Rails
Rails • Asked by user001
I have a `Question` model related to `Option` model. Whenever I try to update question and related options, new options are created instead of updating an existing option. Why is it happening like ...
2
posts

Enable HTTPS SSL in rails localhost
Rails • Asked by Lifanna
Good day, i tried to enable https secure connection for my rails application.First of all, set config.force_ssl = true in application.rb only. So, re-started rails server, but there was error: "HTT...
4
posts

How do I deploy my api rails 5.2 in AWS ec2?
Rails • Asked by CassianoSF
I'm following the tutorial: https://gorails.com/deploy/ubuntu/18.04#ruby But I'm getting stuck on: 01 ArgumentError: Missing `secret_key_base` for 'production' environment, set this string with...
1
post

Subscribe to the newsletter

Join 22,346+ 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.