ruby-on-rails tag

696 questions


1 answers
408 views
0
How to retrieve images for each posted article with Rails 6meta tag & OGP settings

I am trying to get images of each posted article page on the site using meta tag & OGP settings in Rails 6, but it is not working.The following code is written at the top of the html.erb page to r...

1 years ago

1 answers
402 views
0
DB fails to boot locally after Rails deployment.

What you can't doAfter successfully deploying my own application on Render.com, I tried to proceed with the development locally, but now I can't access DB.Error ContentsI was going to test with Rspec,...


1 answers
353 views
0
RSS Output Method for Rails 6

To output RSS in Rails 6, follow these steps:I wrote it, but I got an error.I don't know which step is wrong.articles_controller.rbdefeed @articles=Article.all.order(created_at::desc).page(params[:pag...

1 years ago

1 answers
362 views
0
About Page id Display in Rails6 RSS Output

Unable to get page number from rss.Please tell me how to solve it.View in RSShttp://localhost:3000/articles/feed<?xml version='1.0' encoding='UTF-8'?><rss version='2.0'> <channel> &...

1 years ago

1 answers
514 views
0
I introduced erd to output ER diagrams in rails, but I got an error.

I introduced erd to output ER diagrams in rails, but I got an error.This is the procedure I tried.Create an ER diagram automatically with Rails ERD!Options includedHowever, the erd command also genera...


0 answers
426 views
0
I can't push Heroku

BackgroundI'm working on an assignment at a certain school.I've asked too many questions to my school mentor, and I'm getting confused with the mentor's response, so it's even harder to understand.So ...

2 years ago

1 answers
330 views
0
Is CORS configuration the only CSRF countermeasure for Rails API x Next?

In the Rails API x Next configuration, we plan to use session cookies to manage the login status.In this case, just setting up CORS on the Rails API is enough to ensure CSRF countermeasures?If CORS is...


1 answers
494 views
0
I'd like to set the upper limit for display of the Rails each statement.

What do you want to doIn my own application, I use the following each statement to display posts, but I would like to limit the display limit to 10.At that time, I would like to make the specification...

2 years ago

1 answers
297 views
0
Error building Rails environment: ActiveRecord::DatabaseConfiguration::InvalidConfigurationError

This error occurs when creating rails db:create when building rails environment with AWScloud 9.I would appreciate it if you could tell me how to solve this problem.error codeec2-user:~/environment/Ra...

2 years ago

1 answers
365 views
0
Rails cannot correctly populate datetime type values.

PrerequisitesData is not correctly placed in the datetime type column of your own application (Railsc does).I don't know why, so please help me.What do you want to doAt the time of user creation, I wo...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.