Devise - logging on with something other than email
7
Gems / Libraries
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...
Chris Oliver replied
Solved
Nested attributes
4
Rails
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 <...
Giancarlo Corzo replied
Solved
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
 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