7 questions
I'm a beginner at Ruby.I am trying to reference DB in each do with the following logic:I try to get the record under where conditions by taking the value of the maxrating variable where the rating is ...
I am publishing a site created by sinatra on unicorn+nginx, and I would like to add another site, but I don't know how to do it, so please let me know.Currently, it is as follows.(Excerpts only releva...
Image #helperview_helper do hoge(fuga)do US>#{fuga} endend#viewhoge('Bob') #This is BobI would like to use it like this, but what is the best way?I don't know how to make it in the first place.Please...
Image #helperview_helper do hoge(fuga)do US>#{fuga} endend#viewhoge('Bob') #This is BobI would like to use it like this, but what is the best way?I don't know how to make it in the first place.Please...
There was a similar question, but there was no answer, so I would like to ask you a question.As the title suggests, we are trying to deploy the Sinatra app using MeCab to Heroku.local PC:Mac OSX $hero...
Let me ask you a question.I am having trouble understanding the error below.environmental framework:sinatraworking with:ActiverecordDB:mysql[database.yml]development: adapter —mysql2 database —sinatra...
I am using ERB, params.I am creating a submission form, but an error occurs when I display the submission contents.The syntax of the method to be printed is wrong, but I don't know how it is wrong.If ...
© 2024 OneMinuteCode. All rights reserved.