542 questions
The rails suddenly stopped working...This is the log displayed.>bin/rails:6:warning:already initialized constant APP_PATH>/Users/Sean/Desktop/Renascence/bin/rails:6:warning:previous>definitio...
I want to apply css to rails, but it doesn'tapplication.html.erb<title>UberEvaluation</title> <%=csrf_meta_tags%> <%=csp_meta_tag%> <%=stylesheet_link_tag 'application', med...
<%=link_to link, {:controller=>:hoge_controller,:action=>:hoge_action}, class: hoge_class%>↓<%=link_to{:controller=>:hoge_controller,:action=>:hoge_action}, class:hoge_class do%&g...
What do you want to doI'm recreating the app I made with rails6 with rails7.Among them, I would like to display the background-image.what someone didI wrote the code exactly as it worked in rails6.I c...
Below is a sample code that uses the Array instance method for the instance of the class that inherited the Array.class MyArray<Arrayendm=MyArray.newn = MyArray.newadded=m+nputsm.class#MyArrayputsn...
What do you want to doI want to change the color of the letter in the header when I move the page (this color on page A).Page B looks like this color.)Current StateI have written the header using the ...
How many loops will occur when ruby repeatedly calls an array, select or map such as Hash?For example, in the code below, (1..100) .select { | val | val %2 == 0} .map {|val|val.to_s} US>joinDo I have ...
.where((start_at=?),(start_at>?), nil, Time.now)When specifying multiple conditions such as , I would like to specify nil for the value, but I am stuttering because it does not work.In such cases, ...
What do you want to doCreate a ruby container on windows with docker and run the ruby script you edited on windows.TriedCreate a ruby container by defining the following ($docker-compose up-d)version:...
Array data is as follows: parent=['a', 'b', ['c', 'd']]I want to save this to a spreadsheet using google_drive's gem with the following code, but I can't...@worksheet=google_drive_session.spreadsheet_...
« | - 29 - | » |
© 2024 OneMinuteCode. All rights reserved.