
Rails for Beginners Part 17: Login Form Discussion
8
General
It would be great to show how to do login with both username and email as well.

Extend Sprockets to bundle mustache templates
3
Rails
I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this:
``...
Solved

Turboframes not replacing when placed in another partial
2
Rails
I am trying to create a modal or a drawer which allows me to edit a form.
When I place the `turbo_frame_tag` in the same file like so. The form shows up properly when I click the link.
**admin/pe...
HP replied

"export 'default' (imported as 'Vue') was not found in 'vue'
1
Javascript
I'm following Chris' tutorial "Embeddable Javascript Comments Widget Models - Part 1" and I'm getting that error, any pointers on how to fix it? I'm running Rails 6.1.7.2 and my package.json looks...
Esteban Utz replied

Rails for Beginners Part 18: Accessing the Current User Discussion
1
General
Hi chris, thanks for the tutorial so far.
I got this error when implementing this module:
ActionView::Template::Error (undefined method `user' for #):
<% if C...
Kolawole Ezekiel replied

Global User for Multi-Tenancy with Local Tenant Users
2
Rails
I'm watching the rails tutorial on the apartment gem and am curious how to manage my Users, which I've already created through Devise and implemented User Roles.
Essentially, I want one Super U...
neiladdams replied

Rails for Beginners Part 5: Routes and Route Types Discussion
13
General
great content.
Vishva replied

Build Multitenancy App in a different way
10
General
I have seen many questions and topics in gorails about multitenancy but I am a bit undecided about which way to go. I would like my app not to carry the subdomain name in the url. Indeed, I wo...
BKSpurgeon replied

Structure Guidance - Multi Tenancy Authentication / Authorization
19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
BKSpurgeon replied

How do I add an node express proxy server to rails app deployed on DigitalOcean via Classic Hatchbox using an nginx config file?
0
Servers
I’ve added an node express proxy server to an Ubuntu Digitalocean server that is used by my rails app and is deployed via Classic Hatchbox app that utilizes an nginx configuration file.
The node e...
Alfred Montalvo Jr posted

Using Ruby Service Objects To Refactor Your Rails Code Discussion
21
General
Very nice video Chris! I really like the idea of breaking things out into POROs. I think the next refactoring I would do to this app is making a Subscription class to house the logic for adding and...
hamza-itu replied

Rails Application Templates Discussion
38
General
Hello,Im gettingCould not find "Procfile" in any of your source paths. Your current source paths are:
/Users/my_user/Documents/dev/my_app/https:/raw.githubusercontent.com/excid3/jumpstart/masterUsi...
Mpumelelo replied

Our First API Discussion
6
General
When should I use rails new my_app --api ? or it's ok to use rails new as usual even if I'm building an API
Dave Woodall. replied

Improving In-App Notifications Discussion
24
General
+1 for the ActionCable episode!
Taylor Cooney replied

Sortable Drag and Drop Discussion
29
General
Just a heads up, in your Gemfile, bootstrap 4 beta no longer uses tether for tooltips, now uses popper.js which is now a dependency of the bootstrap 4 gem
robert replied

Deploy Ubuntu 16.04 Xenial Xerus Discussion
91
General
This is not working on Xenial Xerus because there is no packages for Ubuntu 16.04 in Phusion Passenger repositores yet.
Alex Hendershott replied

How do I add a /user.json file using devise?
0
Rails
I'm trying to complete the episode 78 "@mentions, autocomplete, notifications, and links" but I'm using Devise. The part I'm stuck on is I can't figure out how to fill in the /users.json ...

Setup MacOS 10.13 High Sierra Discussion
17
General
It Works!! Thanks! High Sierra 10.13.1 (Beta)
bananakinq replied

Adding Stripe update card form, Cancel, and Resubscribe Discussion
30
General
Hello Chris! Thx for a great episode! So i noticed in this video that you updated some field on the current user to save the last 4 etc on the card. I was thinking that i could use that function to...
Neba Funwi-gabga replied

Setup Ubuntu 18.04 Bionic Beaver Discussion
18
General
nice guide... i tried it with sucess on ubuntu 18 !DISTRIB_ID=UbuntuDISTRIB_RELEASE=18.04DISTRIB_CODENAME=bionicDISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"rbenv version2.5.0 (se...
Nezir Zahirovic replied