Skip to main content
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

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

Setup Windows 10 Discussion
General • Asked by Chris Oliver
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...
162
posts

Stimulus JS Twitter UI: Part 1 Discussion
General • Asked by Chris Oliver
Is the source code for this (and other) episodes available? I am having some small problems following along.
5
posts

Contribute to a gem
Ruby Solved • Asked by S C
I have two questions. How do I contribute to a ruby gem? Do I just locate it's repo and make a pull request? Or are there more formal procedures? Also, what if I've made some very useful met...
5
posts

How To Create A Gem For Frontend Javascript And CSS Libraries Discussion
General • Asked by Chris Oliver
Thanks for posting this video! it really helped me with creating my own gems. here is the last one https://rubygems.org/gems/aw-highstock_rails for pushing it to https://rubygems.org/ i used `ge...
3
posts

What is a elegant way for embedding vue component into rails view template
Ruby Solved • Asked by Aleksandar
Hi, I'm doing this way like as follow in the "***.html.erb" ``` ``` here I'm wondering if I should not vue component tag into the rails template or should I do this way? ``` ...
1
post

Setup Ubuntu 18.04 Bionic Beaver Discussion
General • Asked by Chris Oliver
nice guide... i tried it with sucess on ubuntu 18 !DISTRIB_ID=UbuntuDISTRIB_RELEASE=18.04DISTRIB_CODENAME=bionicDISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"rbenv version2.5.0 (se...
13
posts

Receiving Webhooks in Development with Ngrok and Docusign Discussion
General • Asked by Chris Oliver
Would really appreciate the embed signature stuff if possible.
9
posts

Rails & Vue.js Trello Clone - Part 1 Discussion
General • Asked by Chris Oliver
Glad you decided to do this :)
27
posts

Should i be using jbuilder or AMS
Rails • Asked by Sam Mason
It looks like ams (Active Model Serializers) is heading towards deprecation and is telling users to use jsonapi-rb but should I just jbuilder as it included in the Gemfile for a new rails api 5.1 app?
2
posts

Archive old pages to a static page
Rails • Asked by John van Arkelen
Maybe a weird question, but I have a report dashboard application, where a specific report contains a lot of records in the database. In general users only check the last 3 reports frequently, so I...
2
posts

How do I create a new rails application with ubuntu and postgresql
Servers • Asked by Arnas Klasauskas
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...
1
post

Controller loop for has_many_through associations
Rails • Asked by Siddharth Arun
I have the current models setup in my Rails app: ``` Recipe has_many :items, :through => :item_linkers has_many :item_linkers, inverse_of: :recipe ItemLinker belongs_to: recipe, invers...
2
posts

Multitenancy with the Apartment gem Discussion
General • Asked by Chris Oliver
Hi, Chris video is not loading!
60
posts

Working with rails caching
Rails • Asked by Hemadou Ramzi
Rails.cache.write('name','Hello this is string' , :expires_in => 1.week) Rails.cache.read('name') i use these syntax but always it's nil => nil
2
posts

How add PurgeCss with TailwindCss?
CSS • Asked by Nikola Okonesh
https://next.tailwindcss.com/docs/controlling-file-size postcss.config.js ``` const purgecss = require('@fullhuman/postcss-purgecss')({ content: [ './**/**/**/*.erb', './**/**/**...
2
posts

Restricting Javascript Widgets to Registered Sites Discussion
General • Asked by Chris Oliver
In this example you first render the javascript and make another call to API via fetch and check the domain in API controller. Is there a specific reason for that? Isn't it better to check the d...
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.