Skip to main content
What is the best way to determine the country/currency for a user?
Rails Solved • Asked by William Gillett
I am using a similar set-up as gorails - devise for registration and stripe for subscriptions. I have separate plans for each currency were are going to market to (USD, CAD, GBP). But I want to...
2
posts

Ruby version stuck on macOS
Ruby Solved • Asked by RJ McCollam
Setting up my new MacBook Pro and am running into an issue with ruby versions. At this point I have installed and am usin rbenv. I installed ruby 2.3.1 and when I `ruby -v` that is what it shows...
5
posts

Your biggest aha! moment?
Tips • Asked by Exequiel R.
Basically, what has been your biggest code aha! moment. That time when you understood some concept or mantra that you were familiar with but couldn't wrap your head around. For me, being the noo...
6
posts

Could you make a ActiveAdmin episode?
Site Feedback • Asked by Rob Sturcke
Was browsing and found out about ActiveAdmin and thought it would be pretty cool to work with. http://activeadmin.info Best, -Rob
3
posts

Prevent spam bots from hitting app
General • Asked by Nino Rosella
Hi guys and gals Wasn't sure which category to put this in but here goes anyway... I have a Rails 5 app in production hosted on Heroku. I recently noticed a particularly high load on the serv...
9
posts

Devise User Follow System
Site Feedback Solved • Asked by Samuel Janes
Can you make a Follow system with devise that updates via ajax? Thanks!
4
posts

Trouble with part 3 of Direct Uploads to S3
Rails • Asked by scott tallarida
I am working through your Direct Uploads to S3 series and have run into a snag that I am hoping you can help with. Everything has worked as advertised UNTIL I added the js in episode 3. Now I a...
1
post

Use coffeescript or javascript in rails form to grab model attribute
Javascript Solved • Asked by shakycode
I am working on a Rails app and need some help with coffeescript which I'm honestly not very good at. I have a form with a field called location_id using a collection in Rails. ```` ```` ...
11
posts

Set a start date for Chartkick / Highcharts combination
Rails Solved • Asked by Stan Smith
This is driving me nuts. I'm trying to set a dynamic start date of 1 month ago for a line chart using Chartkick / HighCharts. But can't find the right syntax.
5
posts

Having different rails and gems versions installed on dev environment ?
Rails Solved • Asked by Lykos
Hi all, I'd like some clarification from someone who's more expert than me, if possible. I'm currently having RVM and Rails *4.2.6* installed on my development environment in which I have bu...
4
posts

School System
General • Asked by Jorge Dominguez
Hi there guys im building a school system and im stuck on the assistance module. I havent come to a way to make it work, for example: A school period start at september 2016 and finish july 2...
5
posts

Can you make an episode on Recurring Events- recurring_select + ice_cube
Site Feedback • Asked by Olsi Gjeci
Can you make an episode on this! I've gotten to the point of adding recurrence rules, but having trouble generating and showing events that are recurring on future dates the same way they appear r...
18
posts

simple_format and Embedded content
Rails • Asked by Tony
I currently have a part of my website where people can submit user generated articles. I use simple_format to retain the layout. e.g. `` As more and more of the internet uses embedded cont...
1
post

error while setting up ruby on rails
Rails Solved • Asked by oliver
I messed up my .bash_profile while installing ruby on rails on mac terminal. I am getting errors like -(bash: touch: command not found) and (.bash_profile permission denied) when i open the termin...
2
posts

Check & Remove old Ruby & Rails Version?
General Solved • Asked by Menj Villalobos
Hi, I need your help on how to check ruby version installed on my system and same as rails. And maybe remove them if necessary if. Thanks
3
posts

Remove omniauth and convert existing users
Gems / Libraries Solved • Asked by Nino Rosella
Hi everyone I have LinkedIn omniauth sign in up and working on my Rails 5 app in accordance with the Devise guide: https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview I have some ...
5
posts

Can you use Actioncable for multiple things in your project?
Rails • Asked by Masud Hossain
I want to use actioncable to pull notifications AND also use it for user to user chatting. Is this possible and pain free to do? I guess what i'm asking is, can i join these two videos togethe...
2
posts

Use .ENV instead of Secrets.yml for keys
Servers Solved • Asked by Rob Sturcke
Regarding around time area 3min for *Direct File Uploads to S3: Part 2*, I was wondering if I could just use ```.ENV``` since I'm using this as an example for my Github and Heroku. Instead of putt...
5
posts

Testing Turbolinks 3 partial replacement
Testing • Asked by Patrick Berarducci
Hey Chris (and everyone else) - Have you played around much with Turbolinks 3 partial replacement? (Chris, I wathed your livecoding segment; was great, thanks.) I'm using it with Rails 4.2.5, and...
2
posts

CSV Import
Ruby • Asked by Sascha M.
My question is about this Episode: https://gorails.com/episodes/upload-csv-form The CSV Import works fine (I'm using the exact same code actually). My 1. Question - How can I define an alias ...
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.