Email Stripe Receipts

1
Rails
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 e...
Chris Oliver replied
Solved

Styles not rendering

5
CSS
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...
Miguel replied
Solved

Access Rails constants from Webpack-managed JS

1
Rails
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...
Chris Oliver replied
Solved

3rd party integrations using Oauth/omniauth

2
Rails
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...
Masud Hossain replied
Solved

How do I import a Sass library from within a "node_module" (Rails 5.1)?

11
Rails
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_module...
Ryan Martin replied
Solved

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

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.