Skip to main content
Gravatar
rails5 + heroku + cloudfront + fonts
Gems / Libraries • Asked by Szilard Magyar
I tried to configure a rails5 app (deployed on heroku) with cloudfront for assets and fonts. I could make it work for the assets, then I tried to add the config for the fonts as well, but I just sc...

Gravatar
Nested attributes
Rails Solved • Asked by Giancarlo Corzo
Hi All, I'm working with nested forms and I'm stuck trying to create the two models and the controller to handle this association. My models following this structure: Survey -> recipients ...

Gravatar
Styles not rendering
CSS Solved • Asked by Miguel
Hey guys, So I'm following [a tutorial](https://www.youtube.com/watch?v=70Pu_28yvdI&t=4025s), and around the 1 hr mark, he starts adding the styles. When I tried to reproduce it, it would not r...

Gravatar
Devise - logging on with something other than email
Gems / Libraries Solved • Asked by RJ McCollam
I have followed the instructions on this page https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-with-something-other-than-their-email-address to allow signing in with some...

Gravatar
How to use In-App Notifications as an activity feed?
Rails Solved • Asked by Adrian DeGus
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 ...

Gravatar
Two Forms/Two Controllers/One Page: Passing Instance Variables, Routing, and Error Handling
Rails • Asked by Michael Becco
So... I'm having a higher level conceptual gap on how to deal with a scenario in which a form errs out on a page that has two forms relating to two different controllers. My first knowledge g...

Gravatar
Email Stripe Receipts
Rails Solved • Asked by Steve Polito
Firstly, thanks for the great Stripe tutorials! I just finished implimenting basic subscriptions on my rails app. However, I do have a few questions regarding emails. **Will Stripe automatically...

Gravatar
Access Rails constants from Webpack-managed JS
Rails Solved • Asked by Alex Musayev
I'm just starting to use Webpack with Rails, and have a question. Let say there is a constant defined in Rails application. What could be a proper way to access this constant from JavaScript? Assum...

Gravatar
How do I import a Sass library from within a "node_module" (Rails 5.1)?
Rails Solved • Asked by Peter Marcano
Pretty much the question above! I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework: `npm install bulma --save` Now that it is inside of `node_...

Gravatar
Colorbox & Turbolinks load
Javascript • Asked by Thomas M
Hello, Rails 5.1.0 & Turbolinks5 & Jquery3.1.2 here I'm trying to make jQuery Colorbox works with dynamicly loaded elements (using ActionCable) with no luck. With the implementation below,...

Gravatar
3rd party integrations using Oauth/omniauth
Rails Solved • Asked by Masud Hossain
When creating a facebook login, you put `user = User.from_omniauth(env["omniauth.auth"])` inside `sessions_controller.rb` , so when a user goes to /auth/facebook it will prompt them to login via fa...

Gravatar
Watchlist Toggle
Site Feedback Solved • Asked by Ron Huppert
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....

Gravatar
Getting googlemaps javascript and turbo links working together
Javascript • Asked by Chris Rockwell
Hey Chris - been struggling with this off and on for a bit now. Just trying to add basic google maps using the javascript API (not the gems) to a rails 4.2 app and am having all of the various is...

Gravatar
How do I Geocode location with either address or Lat / long
Rails Solved • Asked by Joe Minock
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...

Gravatar
How do I give Users the option of either selecting from a dropdown menu or inputting their own and adding it DB for other users
Rails Solved • Asked by Omar Khedr
I apologize for the newbie question. But, I've been trying to create a special type of association and all my efforts have been failing. I would like to give users the ability to select their home ...

Gravatar
Why do you choose ams (active model serializer) over jbuilder or the other way around? (Rails API)
Gems / Libraries Solved • Asked by Drilon Buzuku
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

Gravatar
Dynamic select boxes - like railscast 88 - but it ain't working
Rails • Asked by Aaron Taddiken
I am trying to scope a form selection list to from another select box selection. The select box groups the options correctly in the dropdown. Everything checks out in the console but it still does ...

Gravatar
2 sites... 1 DB?
Rails • Asked by Alan Reid
Hello all! It's been a while since i was here, but i am back! So today I would like to get some opinions on a project I am working on. So here we go... What would be the best way to architect...

Gravatar
How to upload multiple file inputs in rails production?
Rails • Asked by Srinivasa Varma
Hi there, I'm trying to upload multiple file inputs from single form. The form is working fine in development, but in production the form showing that redirecting for long time and returns nothi...

Gravatar
How to i implement adobe e sign in rails 5?
Rails • Asked by naveen kumar
Echochamber is not up to date and also not working , i have found the working python app, should i use python to process the document , help me guys.