ruby tag

542 questions


1 answers
29 views
0
If you want to separate the action by calling link_to (method::delete)

Click either to call the same action, but I'd like to decide which link I was called from and divide the process.In this case, what are the methods?Thank you for your cooperation.What I've tried (1)de...

2 years ago

1 answers
35 views
0
redirect destination to the same page

I can't find it even if I look into it, so I have a question.As for how to use redirect_to, I can specify this page, but is it possible to transition to the same page or update the page?What I want to...

2 years ago

1 answers
31 views
0
Using Colon (:) with Rails find_by_sql

using Rails find_by_sqlSomeModel.find_by_sql([SELECT1 FROM ip_addrs WHERE ip_addr=':FFFF'ANDid=:id, {id:1}])I'd like to do a case where I want to include a colon in SQL and replace the parameter name,...

2 years ago

1 answers
32 views
0
How to use Microsoft's sample speech synthesis and speech recognition program (oxford-speech-api).

I am a beginner in a program planning to read English using Microsoft's oxford-speech-api.I got the Primary Key and Secondary Key from Microsoft Azure and ran a sample.The error appears in require'oxf...

2 years ago

2 answers
81 views
0
If you put all the tools together, Ruby's Bundler and name will be affected.

When I first installed Go, I did go get-u golang.org/x/tools/... to install all the tools that editors would use for static analysis, such as gorename and goimports.Recently, I started using Ruby, and...

2 years ago

1 answers
124 views
0
Compass error "Individual stylesheets must be in the pass directory" in Symphony2 in Windows environment

I usually work in a Linux environment, but You must create a Symphony 2 environment in your Windows environment.Install the XAMPP package on Windows and Configured the Symphony 2 framework.The system ...

2 years ago

1 answers
42 views
0
Bundler:failed to load command:unicorn_rails occurs when attempting to deploy rails' posting app through unicorn

I am currently trying to create a posting app in rails and deploy it in AWS, but when I try to launch rails with the following command, an error is displayed.commands executed:bundle exec unicorn_rail...

2 years ago

7 answers
30 views
0
Looking for coding check tools for Ruby and Rails

When I was using C# and Perl, I automatically checked the code with StyleCop, FxCop, Perl::Critic, Perlty, etc.Do Ruby and Rails have similar tools?I searched on Google, but I couldn't find a tool.Not...

2 years ago

2 answers
43 views
0
Please tell me the reason why the calculation results don't match.

If you calculate 100000000000000000000×100000000000000000000 in the Go language, the result is Now -5527149226598858752.Simply put, I think it would be 100000000000000000000000000000000000000000000.By...

2 years ago

2 answers
28 views
0
I want to give Rails models common treatment

class User<<ActibeRecord::Base json_column:dataendclass Post <<ActibeRecord::Base json_column —infoendBy specifying the columns for each model in this way, I want to be able to add process...

2 years ago
« - 43 - »

© 2024 OneMinuteCode. All rights reserved.