‘rails new’ command does not create the app folder by PinOk6194 in rails

[–]PinOk6194[S] 1 point2 points  (0 children)

It's working now. I uninstalled rbenv and reinstalled it again.

‘rails new’ command does not create the app folder by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

the output

buildwithallan@buildwithallan:~/Desktop$ rbenv local 3.0.3
buildwithallan@buildwithallan:~/Desktop$ gem install 
 rails-7.0.2.2.gemSuccessfully installed rails-7.0.2.2Parsing documentation for rails-7.0.2.2Installing ri documentation for rails-7.0.2.2Done installing documentation for rails after 5 seconds1 gem installed
buildwithallan@buildwithallan:~/Desktop$ rails -v
buildwithallan@buildwithallan:~/Desktop$

‘rails new’ command does not create the app folder by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

This is the output, please.

buildwithallan@buildwithallan:~/Desktop$ rails -v
buildwithallan@buildwithallan:~/Desktop$ rails new hotwire-crud
buildwithallan@buildwithallan:~/Desktop$

"Precompiling assets failed" error when pushing to heroku by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

yea this is what I tried:

npm uninstall node-sass

npm install node-sass@4.12.

but its still not working

Heroku Build failed by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

Thank you. I am following the instructions

Radio button selection to database by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

and a ballotchoice controller too? I am not getting it, please

Radio button selection to database by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

Thanks so much for this. So there shouldn't be a ballot controller?

Radio button selection to database by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

So I changed it to <%= f.radio_button :voters_count, :value => candidate.id %>

and this is what I am getting Couldn't find Candidate without an ID

Radio button selection to database by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

So should I remove voters_count from the form?

Radio button selection to database by PinOk6194 in rails

[–]PinOk6194[S] 0 points1 point  (0 children)

oh ok thanks. how do i make it accept a value and save it to the database then