Ask A Question

Notifications

You’re not receiving notifications from this thread.

A video about ActiveRecord Association is missing

nejm asked in Site Feedback

Hi
firstable i want to thank you about this rich content website , you push me to the more advanced rails dev
I have suggestion why not doing a video explain the ActiveRecord Association and it's API for example for the relation has_many

collection
collection<<(object, ...)
collection.delete(object, ...)
collection.destroy(object, ...)
collection=(objects)
collection_singular_ids
collection_singular_ids=(ids)
collection.clear
collection.empty?
collection.size
collection.find(...)
collection.where(...)
collection.exists?(...)
collection.build(attributes = {}, ...)
collection.create(attributes = {})
collection.create!(attributes = {})
collection.reload

really I check the whole youtube i didnot found such video .

and thank you a lot

Reply

Great idea!

Reply
Join the discussion

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

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

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

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.