
Vue.js Components in Rails Views Discussion
27
General
Nice video. What about Vue state managment in Rails. When one Vue component mess with state of another Vue component?
leoplct replied

Precompile error on hatchbox with yarn 2
1
Rails
After upgrading to yarn 2, I get the following error when deploying to hatchbox:
-----> Precompiling assets...
Unknown Syntax Error: Unsupported option name ("--no-progress").
$ yarn install [...
Matthias Orgler replied

Rails 6. SyntaxError: missing ) in parenthetical (UJS)
0
Javascript
Hi! I use pagination Pagy gem, and button "More..." (more pages Ajax) not work
index.js.erb
```
var colum = document.querySelector("#categories_index");
var pagin = document.querySelector("#ca...
Nikola Okonesh posted

How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?
17
Rails
Hello everyone,
I searched but didn't find anything and was hoping like I said in the title of this subject, to find a way to get the url displaying a user's profile of a client's app to be like u...
Chris Oliver replied
Solved

Adding external .js files to a new Rails 6 web app
1
Rails
I have created a new rails 6 app. in rails 6, javascript folder is outside assets. I have copied all the css and js files from an existing application to this new one and application.css,applicatio...
Safwan SM replied
Solved

How to install TailwindCSS 1.0 with Rails 6 Discussion
15
General
Hey Chirs!
Great video, only question I have about using tailwind with rails 6 is the theme config.
in the docs it says to place:
```
module.exports = {
theme: {
container: {
cente...
Alex Ventura replied

Drag and Drop sortable lists with Rails & Stimulus JS Discussion
22
General
Chris, thank you so much for this! I was actually going through the old drag and drop tutorial yesterday and today to update it for Rails 6.
I seem to be having an issue both with this tutorial an...
Reece Jones replied

Is there a beginners course?
7
Rails
Hi I've searched but I cant find a beginners to rails course, am I being blind? Thanks

Tracking Metrics with Ahoy and Blazer Discussion
20
General
Awesome episode! Thanks Chris!
CF Pro Tools replied

Trix editor is not displaying properly in Rails 6
2
Rails
Hello - I have installed Action Text in my Rails 6 app and made corresponding changes to my blog / controller, _form to have rich_text_area show. Problem is that despite requiring actiontext in my...
Rajiv replied

Struggling to get rails working
3
Rails
If I use "sudo gem install rails", it says everything is installed
Then I hit "rbenv rehash" and try to create a new project. The CLI gives me the error:
Rails is not currently installed on this ...
sam replied

Sprockets::FileNotFound in Users::Sessions#new
5
Rails
Thank you for allowing me to be part of your group and my problem is the following, I currently have version 2.7.0 of ruby on my computer, version 5.1.7 of rails, they just shared a project that ...
Gilbert Wise replied
Solved

Cannot Reset Devise Password
1
Gems / Libraries
I am currently using devise, pretty much straight out of the box, the only changes i've made is custom views.
The problem I am having is that I cannot reset a user's password. I follow the link ge...
Dylan replied
Solved

How to use Bootstrap with Webpack & Rails Discussion
50
General
Thanks for posting this and the previous video on using tailwindcss. It's helpful to see the main themes reinforced in each of the videos. One thing that I'm struggling with is what seems like a vi...
bradley replied

Is Something Wrong With Jumpstart?
11
Gems / Libraries
I've tried to install Jumpstart three times in the last two days and each time all the gems get installed but none of the views or anything else does. When I boot the server it just shows the norma...
Tim replied

Rails 6: Separate styles and layout for dashboard and main (front) site
1
Rails
I will try to explain my issue as much as I can.
I hope you guys can understand and give me an idea / help me.
So I am working on a practice app. There are two separate bootstrap html/css design...
Thomas Blumenfeld replied

Setup MacOS 10.15 Catalina Discussion
15
General
GJ

'Uncaught ReferenceError: Rails is not defined' even after importing it in application.js file
0
Javascript
hello, i am really new to Rails. I wanted to make ajax call to a function in controller.
I have following in my view:
```
function fetchMessages() {
// Get user input from text field
let inpu...
anujmohatkar posted

Install Bootstrap with Webpack with Rails 6 Beta
13
Javascript
For those of you who are going to give Rails 6 Beta a test run here is how I have installed Bootstrap 4.3.1 and configured with Webpack
**Step 1:**
`yarn add bootstrap@4.3.1 jquery popper.js`
**S...
Solved

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