Ruby on Rails Community Forum
How to use CodeMirror 6 with Ruby on Rails Discussion
1
General
Any reason why you're passing the initial value to set for the editor with Stimulus values instead of something like...
new EditorView({
doc: this.inputTarget.value
...
})
Holger Quick replied
Rails 7.0.0rc1
3
Rails
Been playing around with Rails 7 aphla2 and yesterday they released an RC version. In my Rails 7 test app, which was previously running alpha2, ran ```bundle update``` it updated everything to the ...
Solved
Installation
1
Rails
Hi Chris, could you change hardcore installation nodejs in guides https://gorails.com/setup/ubuntu/18.04 to through https://github.com/nodenv/nodenv. Also I've found some script https://gist.github...
Persistent audio via stimulus change audio on click
0
Rails
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...
Rails for Beginners Part 30: Tweet Validations Discussion
8
General
Working these videos late, I failed to realize my timezone is different from the rails default. You can set your time zone in `config/application.rb`.
For example:
`config.time_zone = "Eastern Ti...
Peter replied
How to use "ensure" in Ruby Discussion
3
General
Having GoRails sprinkled with some savory dishes like this one would be extremely useful in my opinion. 👍
Sahil replied
Wrapping Exceptions in Ruby Discussion
2
General
Good stuff - really like these "abstract" tools
Sahil replied
How do I solve questions in the forum?
2
General
How do I solve questions in the forum?
Sahil replied
Solved
Ruby Devise: Inconsistency in current_user in API controller VS. Pre-existing controller
0
General
Hello Everyone,
I have started [Rails Training Courses](https://www.igmguru.com/digital-marketing-programming/ruby-on-rails-certification-training/), But I can't able to solve this code.
I'm att...
Pankaj Nagla posted
How i can add delivery method with slack?
0
Rails
I cant find any tutorial on how to use noticed gem with slack, can anyone please explain for are the steps for slack integration with his gem I'm new to rails and find it hard to integrate this wit...
I am running into some strange error when I upgraded my app to rails version 6 and pushed to heroku that is connected to Amazon RDS.
0
Databases
I am getting the following error: ActiveRecord::StatementInvalid (PG::InsufficientPrivilege: ERROR: permission denied for relation users.. It is definitely a role issue but I am not sure what coul...
lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- sass
0
Gems / Libraries
Hello GoRail Fam'
After trying to update an old Rails app, including Ruby, i got an error when i tried to launch a server, launch a rails update app and much more commands.
/Users/basile/.rbenv/v...
MVVM
1
General
Can you please create a video using MVVM pattern?
Searchkick and Anycable-rails hangs server
1
Rails
Hello! I have an issue in my app that I just cannot solve.. I have been using Anycable in production for a year now and it have worked great. Then I added Searchkick to improve the search experienc...
Marcus S replied
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
Is there an admin like Django or Laravel's Nova
3
Rails
Newbie to Ruby / RoR - got into Django since 2 yrs and started learning Laravel - one thing I want to know before I delve into it, is if RoR provides a backend admin like Django or an external pack...
claudiastuart replied
Solved
How do I handle `accepts_nested_attributes_for` with Administrate?
2
General
I'm using `accepts_nested_attributes_for` in one of my models and want to handle the nested attribute (photos) in my Administrate form. It doesn't appear that administrate handles the nested associ...
Sahil replied
Ruby's Array() and Array.wrap Discussion
2
General
Nice, dude! I had no idea this existed. I'll definitely be using this when I go back through and optimize my code. Thanks!
Sahil replied
Flattening Scopes in Ruby Discussion
3
General
Nice work Collin, I dig it.
Sahil replied
Black Friday 2022 Deals on GoRails, courses, and Jumpstart Pro! Discussion
0
General
A life-time subscription would've been nice.
Anjanesh Lekshminarayanan posted