How do I Geocode location with either address or Lat / long

2
Rails
I'm building a portfolio app where a user can share all of the locations that they like to work from. A location can be a home, office, coffee shop, park or some random place in the wilderness. Giv...
Chris Oliver replied
Solved

How to use In-App Notifications as an activity feed?

6
Rails
I worked through https://gorails.com/episodes/improving-in-app-notifications yesterday and it works great. I tried to use this same system create activity feeds for my different models, but ran in...
Abhinay kumar replied
Solved

Watchlist Toggle

2
Site Feedback
Hi Chris, Not sure what the origianal intention was regarding the "watch later" button other than marking the specific episode, but I wondered if it could be added to the episode filter options. ...
Chris Oliver replied
Solved

Why do you choose ams (active model serializer) over jbuilder or the other way around? (Rails API)

2
Gems / Libraries
Hey Guys, I'm interested in knowing, why some developers choose ams over jbuilder and some prefer jbuilder over ams, to build Rails based API's. Cheers, Drilon
Dave Woodall. replied
Solved

Turbolinks and jQuery compatibility on Rails 5

4
Javascript
I have a hidden field that's activated when clicked on the link using jQuery. When clicking on the link, the field appears just for a second and then disappears. ```javascript $('.use-differen...
Lauro replied
Solved

Routing Error No route matches [POST] when submitting ActionMailer

1
Rails
I have created a form but I'm having issues submitting the form, it's not getting the right route, I'm sure this is a simple fix, I'm just not seeing it. Here are the relevant files: `new.html.er...
Ben John Bagley replied
Solved

On what server is Gorails hosted?

3
Servers
On what server is Gorails hosted? I'm looking for one for a project
Nicolás Bobb replied
Solved

Capistrano Rbenv Bundle Failed

10
Servers
Hi, I'm following this tutorial on deploying rails app https://gorails.com/deploy/ubuntu/16.04 About to reach the last step but it failed when performing bundle install as screenshot below ![](ht...
Navid Shafie replied
Solved

How can I setup Cloudfront CDN for Rails App ?!

6
Rails
It's good to have CDN enabled to speed up rails app but how can I do that with Cloudfront ?!
Anh Vy Nguyen Vuong replied
Solved

One form, two separate controllers, created at once.

1
Rails
I'm trying to create a sign_up form where the user will choose his email + password AND and Article at the same time as creating a user account. So assentially, one form will create a new User ...
naveen kumar replied
Solved

Opt-in to receiving thread notifications

8
Site Feedback
Hey Chris, It would be great if users had the ability to opt-in to receiving new thread post notifications. Sometimes I like to just throw my two cents in, but don't really intend on following th...
Jacob Montgomery replied
Solved

Optimizing Queries in Service Objects

9
Ruby
I'm currently building an app and using namespaced service objects containing a single call method in each class. Below is an actual method (I'm aware the ABC size is too large, I'm wanting to get...
Jacob Montgomery replied
Solved

Updating sort_index attr on a collection of models

9
Rails
Hey there! I've got a collection of models (Product) and each product has an attribute called `sort_index` that allows the store owner to set a specific order for their products. The UI allows the...
Sean Washington replied
Solved

How to add or call a particular action in all the controllers ?

4
Rails
I want to store the user activity by using after_action in the all the controller for a specific action of those controller
nynhex replied
Solved

Deck Builder App. How do I query only decks you can make with the cards in your inventory?

7
Rails
I'm making a deck building site similar to hearthpwn.com. It would be nice if users could filter decks based off the cards they have in their inventory. In other words, I'm trying to make a query ...
Matias Fernandez replied
Solved

Everyone's Been Bitten Before - Whitespaces/Unwanted Characters in User Input

2
Rails
Hey all! I've got an interesting question, and I'm sure you're all handling it in different ways. I know there are plenty of ways to tackle this problem, so I was interested in what everyone's doi...
Nick J replied
Solved

What text editor are you using for GoRails Forum?

4
General
Hey Chris & Community! :) What text editor are you using for the GoRails Forum post? Im following the episode [Markdown and Emoji with the html-pipeline gem](https://gorails.com/episodes/mar...
Lauro replied
Solved

[HATCH] Error deploying app

3
Rails
I'm getting this error when trying to deploy my project with hatch. I made sure I have the RSA file. Deployment Error ``` Fetching origin Warning: Identity file /home/deploy/.ssh/thinkrtc_rsa not...
Chris Oliver replied
Solved

Autoloading models not working

2
Rails
Hi, I have this model structure ``` /models /survey /questions question.rb survey.rb ``` I have used this autoloading in my application.rb so I don't have to deal with modules everyt...
Chris Oliver replied
Solved

why drop down menu (Account Setting)is not showing in sidebar?

1
Rails
``` my html <%= csrf_meta_tags %> <%= stylesheet_link_tag "bootstrap.min", media: :all %> <%= stylesheet_link_tag "dataTables.bootstrap.min",...
naveen kumar replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.