542 questions
Thank you for your help.Creating Rails environment.Install the bundleerbundler-vWhen you check the version in , Traceback (most recent call last):2:from/home/username/.rbenv/versions/2.5.0/bin/bundler...
Thank you for your help.It's been a while since I started developing Ruby on Rails.I've seen a lot of source code online, including StackOverFlow and Qiita.Most of them have no comments.There are time...
ruby 2.2.1p85mac Mavericks This is a Ruby language question.As a result of executing the source code below, there are two things you don't understand.① Why is the output of the global variable $b nill...
This is a question about shortcuts in VSCode.I used it to describe Ruby's code, and I was able to move the method from F12, but I wanted to move it by listing the reference sources from the definition...
I would like to set my tag in acts-as-tagable-on and display the posts tagged with it, but if I set more than one, it will no longer be displayed.What should I do to be able to handle multiple setting...
I'd like to submit JSON's response as follows, but it's clogged up.Could you give me some advice?Currently [[book, 10], [pen, 100]]Goals [ { category:book amount —10 }, { category:pen amount: 100 }]Cu...
Is there a way to make an element of a record that is rails recognized as a wildcard or to implement something similar?There is a post model that shows the article you posted.The post contains the aut...
We are creating SNS sites where users like Twitter can post. Specifically, the Ruby on Rails Tutorial sample application has just been completed, and we are now trying to add functionality. I would li...
Sorry for the confusing title.We would like to specify categories in subdirectories and run sites with the same configuration.For example, example.com/car/articles lists articles about cars and exampl...
What do the resource and as:resource_name in ( ) of ruby's device mean?I am struggling because I cannot understand the form_for itself.Someone please.<%=form_for(resource, as:resource_name, url:reg...
« | - 22 - | » |
© 2024 OneMinuteCode. All rights reserved.