Best way to create a belongs_to object from a has_many

19
General
Sorry for the vague title but I cant think of a better explanation! Let's say I have a list of Users and an admin could click a button/link that would create a site for them from the existing ...
alangosh replied
Solved

Responsive Navigation with Turbo Discussion

10
General
Chris! The video is se to private!
alangosh replied

how should I start this?

1
General
I just wanna ask, how to take start on this course? I am new here, tell me where to start?
DaveWill11 replied

Markdown and Emoji with the html-pipeline gem Discussion

25
General
Awesome episode! I've used https://rubygems.org/gems/p... but html-pipeline looks like a great alternative. Loving the emojis !!
Colin Ambler replied

Best strategy for downloading multiple files from S3

7
General
Im working on a rails app where Users can create a “project”. Project, has many datafiles. Users upload multiple files direct to Amazon S3 (im using carrierwave). I'd like Users to have the abilil...

fields_for and accepts_nested_attributes_for in rails

0
Rails
I have noticed something strange. For I have a rails app which has user model. User has one lab Lab belongs to user. User has two attributes , username and age. Username is mandatory on creatio...
Muhammad Ans posted

New website design!

17
General
It took me several weeks to redesign everything and it was a TON of work. The main chunk of work was moving from Bootstrap to TailwindCSS and that's quite a lot of effort because you have to rewrit...
Dhairya Majmudar replied

Implemetation of /leaderbaord in the project

0
General
I want to implement the /leaderboard as in the website in my project can someone pls. suggest how to do so by giving links to documentation and tutorials Thank You : )
Dhairya Majmudar posted

Is Ruby on Rails still relevant in 2023 ?

7
Ruby
If yes ,please share your thoughts why it is relevant ?
DanteKulas replied

Direct Uploads with ActiveStorage Discussion

21
General
I'm running to a small error I think. Alright, so when I try to get the a file to upload It seems to begin the process and then commit but then it stops. I get a completed 200 ok but the issue is t...
Aaron replied

Test some simple javascript with Minitest and Capybara

0
Testing
I'm seeking assistance on testing JavaScript that executes on the response page after a POST request. So I have something like this ```ruby class YourControllerTest < ActionDispatch::Integrati...
Jesper posted

Turbo stream problem

4
Rails
Hello... I'm having a problem with a view not fully auto-updating using turbo. It currently only works when updating or destroying. So to keep it kinda short, I have a site where users can crud...

CPU from 0% to 100% on any one page load.

0
Rails
Hello, I am having a serious issue on the Ruby on rails application running with the following technological stack: ubuntu-latest Docker latest RUBY_VERSION: 3.1.0 puma (5.6.4) rails (7.0.3)...

What's New In Ruby 3.3 Discussion

9
General
Happy Holidays and New Year everyone! 🥳
Wen Ching Chua replied

How do I add embedded youtube video to a text field within active admin with simplemde markdown?

3
Rails
When I add the Youtube embed code. It displays it as a string on the front end. The idea is that I could make this simple enough for the user updating the post to add the embed code easily themsel...

Syncing Repositories with Ruby Scripts - Part 2 Discussion

0
General

How to Deploy Rails to Render Discussion

14
General
Great video, thanks Collin!
Emmaotiki5 replied

Cannot create Rails App - gem issues "Ignoring nokogiri" and other gems

5
Rails
When I try to create a new Rails App it fails. I am on Big Sur 11.3, Ruby 2.7.2, and when type rails-v shows 6.0.3.4 but also ignoring quite a few gems including nokogiri and 6-7 others. I have tri...
Ryan Mindigo replied

Want to stay up-to-date with Ruby on Rails?

Join 89,852+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.