542 questions
I am experiencing a font_1_honokamin.ttf error in the console, but I cannot resolve it.style.scss@font-face{ font-family: 'A little tomorrow morning'; src:url('font_1_honokamin.ttf')format('truetype')...
Currently, we are trying to implement hashtag functionality in the portfolio posting function.We plan to encourage you to fill out the post form as follows:Tags (Please include half-width , between ta...
We are thinking of running the rails associates:precompile while the rails are running and reflecting it as it is without restarting.[Final goal] Registered users have their own profile page.The profi...
when you want to limit which columns are retrieved using selectHow do I control the columns of the relevant model as well?Post>--CategoryI only want to get title for Post and name for Category.Imag...
I'm making a class with Ruby, but I'm wondering which interface is better.Pattern Aclass Hoge def piyo=(piyo_data) # do_something @piyo=piyo_data end def fuga=(fuga_data) # do_something @fuga=fuga_dat...
I'd like to create a search function on Rails, but I'm into it, so I'd like you to teach me.I would like to create a search form where Rails has models called Article and Item, and there is a URL colu...
Use url_options to include the same parameters in all paths of view, controller.#application_controller.rbdef url_options { first: first, last: last}endI did it like this, but redirect_to user_path(na...
I am creating a posting service, and in order to create a ranking, I created it in the following form:@post_array={:post=>838, —count=>6, —rank=>1, —user_id=>14}, {:post=>837, —count=&...
If you print Japanese in Ruby script, you will receive a Syntax Error.I guess it's probably a character code problem, but all of them have UTF-8 configured and There seems to be no problem and it's st...
Hello, I am a beginner at ruby, ruby on rails, and JavaScript.Subject: I am creating a restaurant reservation site, but I would like to use active hash to implement it so that the selected course meal...
« | - 30 - | » |
© 2024 OneMinuteCode. All rights reserved.