All threads / A video about ActiveRecord Association is missing

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.