
I am receiving this error "BlogPostsController#index is missing a template for request formats: text/html"
3
Rails
What I need help with is this - my file path seems correct, however, my views/layouts are not separate. My file path is: app> views> layouts> blog_posts> index.html.erb
What I am wond...
Roman Vetter replied

fields_for and accepts_nested_attributes_for in rails
0
Rails
I have noticed something strange. For I have a rails app which has user model.
User has one lab
Lab belongs to user.
User has two attributes , username and age.
Username is mandatory on creatio...
Muhammad Ans posted

Turbo stream problem
4
Rails
Hello...
I'm having a problem with a view not fully auto-updating using turbo.
It currently only works when updating or destroying.
So to keep it kinda short, I have a site where users can crud...

CPU from 0% to 100% on any one page load.
0
Rails
Hello,
I am having a serious issue on the Ruby on rails application running with the following technological stack:
ubuntu-latest
Docker latest
RUBY_VERSION: 3.1.0
puma (5.6.4)
rails (7.0.3)...

How do I add embedded youtube video to a text field within active admin with simplemde markdown?
3
Rails
When I add the Youtube embed code. It displays it as a string on the front end.
The idea is that I could make this simple enough for the user updating the post to add the embed code easily themsel...

Cannot create Rails App - gem issues "Ignoring nokogiri" and other gems
5
Rails
When I try to create a new Rails App it fails. I am on Big Sur 11.3, Ruby 2.7.2, and when type rails-v shows 6.0.3.4 but also ignoring quite a few gems including nokogiri and 6-7 others. I have tri...
Ryan Mindigo replied

How to create new contacts from nested attributes form
7
Rails
I'm building my first semi "real world" rails app (an Open House management app for real estate). I am currently stuck on a "accepts nested attributes" problem. Here are the details... (I've provid...
LucyHills replied
Solved

Tip of topic for new episode on hotwire
1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied

connexion between two microservices in rails
0
Rails
i have a user with devise auth micro service and i have other micro service Costs i want to create cost with user wuthenticated how i can make that connection
meryem sekkat posted

Esbuild
5
Rails
I'm trying to get away from Webpacker... Installed the gem JSBundling on a Rails 6.0.1.x app, followed the setup procedures to use EsBuild, and it worked. Got BootStrap 5 working with the guidance ...

How to understand the 'magic'?
0
Rails
Hey everyone, I have been working with rails thanks to the awesome courses that you have, but I want to know about what happens behind the scenes. Where can I find how Rails conventions works and h...
OsqY posted

Rails 7, Devise in turbo_frames
2
Rails
- Rails 7.0.6
- Devise 4.9
## Summary
- I have a pretty standard Devise setup with links in a global navbar that look like this.
```
<%= link_to('Create account', new_user_registration_path, da...
Whimere replied

Solving Active Storage InvalidAuthencityToken Error
0
Rails
I have an application which is on lvh.me and i am trying to upload image using trix editor from my subdomain sample.lvh.me but for some reason i keep getting this error
```
Started POST "/rails/a...
Henry posted

Rails7 Rest API authentication
1
Rails
Good day Devs, I'd like to inquire about the most secure and effective method for integrating #API authentication in #Rails. Specifically, I'm comparing the options of using devise and devise-api...
Marianyatt replied

Devise
9
Rails
I watched the Gorails Rails Password Reset 2 part video for password reset. My question is my devise setup only create encrypted_password, and reset_password_token, not password or token columns. C...
paxtonleiny replied

I'm lost and can't find the way out
18
Rails
So I'm in the middle of this project and I thought I could figure it out on my own, but it appears I am in over my head here. So any advice/help you can give me would be great.
Basically I'm tryi...
Andrea Fomera replied
Solved