Search Results for "i-made-a-quiz-game-for-ruby"

Lessons















Forum Threads

How do I find out why Stimulus controllers aren't getting compiled? Asset Pipeline problem

1
Javascript
I updated a Rails 6 app to Rails 7 and changed from Webpacker to esbuild/webpack. Added Stimulus, and after not getting controllers to work tried a basic hello_controller and then searched the appl...
Greg S replied

Can you help me out where is the knowledge gap in my skills?

0
Javascript
I was at the last stage of for a full stack JS role. I was asked to do a technical challenge and I think my solution to that was not met the expectation. I decided to learn more details about react...
Scott104 posted

Issue with Nested Forms in Rails 6.1.3.2

2
Rails
I’m working on a project that will utilize nested forms that incorporates Rails 6.1.3 and Bootstrap 5.1.2. I’m having difficulty getting the nested form feature to work. Project GitHub: cjmccormic...
Steve Polito replied

How can I test sortableJs ? (RSpec)

0
Testing
I made a drag and drop to-do-list with SortableJs and i'm trying to test the drag-n-drop with RSpec/Selenium/Capybara if the request is sent onEnd. I'm able to do the drag n drop using selenium `dr...
paul lahana posted

LoadError: Unable to autoload constant Validators::LapseValidator

6
Databases
I wrote a custom validator for a model in my app, but when I try to access that model I get ``` LoadError: Unable to autoload constant Validators::LapseValidator, expected /home/lflores/Projects/c...
Solved

A few issues with tidying up @mentions

1
Rails
Hello, I was following along with the mentions episode here https://gorails.com/episodes/at-mentions-with-actiontext?autoplay=1 I made a few tweaks to help suit my application a bit better, and on...
Mylan Connolly replied

Hatchbox deployment. public/index.html not found

5
Servers
Hi, I am deploying to hatchbox and everything appears fine until i load the site up in the browser. Looking at the logs there is no public/index.html. On my development environment there is also n...
Chris Oliver replied

How to translate and localize apps with Rails Internationalization (18n) Discussion

18
General
This was really great, thank you! Can you provide a link as to what you need to sanitize the variable you passed in, name? Looking forward to the next episode!

How can i Configure my Trix Editor / ActionText field?

2
General
Is there a way to add / delete buttons from the tool bar for action_text? For eg, I'd like to add more semantic header levels (h2-h4).
Christopher replied
Solved

How do I add minified JS files to the Rails Webpacker

2
Rails
I am trying to add min.js files - and getting an error. This works while adding a normal .js file: *- app/javascript/packs/calendar.js* alert('Calendar loaded') *-# app/views/calendars/index.ht...
Arjun Rajkumar replied
Solved

How do I manage business hours for a store?

8
Databases
I've taken a few stabs at this over the past two months and haven't found a great solution for what seems to be a straightforward feature seen in applications such as SkipTheDishes and UberEats. G...
Solved

How do I temporarily redirect stderr in Ruby on Rails?

2
Rails
Hi, gays. I would like to ask for advice. I asked this question on [StackOverflow](https://stackoverflow.com/questions/56828359/how-do-i-temporarily-redirect-stderr-in-ruby-on-rails) , but I did no...
Alexey replied

ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):

3
Rails
How to resolve this issue: `ActionController::RoutingError (No route matches [GET] "/assets/images/4.jpg"):`
Alan Reid replied
Solved

How do I handle Koala error

2
Rails
After watching [Facebook API and Auth Tokens with Koala](https://gorails.com/episodes/facebook-api-and-auth-tokens-with-koala), I decided to implement it. However, I made a mistake in my logic and...
Alexey replied

Setup MacOS 10.14 Mojave Discussion

19
General
Is anyone else receiving errors with MacOS 10.14 Mojave and the Mysql2 gem? I'm also getting a "Library not loaded: libssl.1.0.0.dylib (LoadError)" error when executing "rails server". Thanks!
Kemble Hildreth replied

Direct Uploads with ActiveStorage Discussion

21
General
I'm running to a small error I think. Alright, so when I try to get the a file to upload It seems to begin the process and then commit but then it stops. I get a completed 200 ok but the issue is t...
Aaron replied

Rails Application Templates Discussion

39
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...
Ryan Girton replied

Webpacker error from Vue.js Trello Clone Series

4
Rails
Hey all, I have an error that I just can't get to the bottom of. While going through the awesome Vue.js Trello Clone tutorial I started seeing this:(Webpacker can't find application.css in /trello-...
Matthias Orgler replied
Solved

Recurring events with the ice_cube gem Discussion

47
General
On my app I use a Event and a EventTrans model so for each time a event occurs we can have a record with info and other stuff. So for the Calendar we display the First event with the recurrent on t...

Electronic Signatures with the Docusign API Discussion

2
General
Hi, I am new here. I am getting an error when testing the code on the console. It creates the user but then it gives me: NameError: undefined local variable or method `template' for #<class:0x53...
Mike Straw replied