Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
parent table = cars related table = parts c = car.find_by_id(1) c.part.new(:car_id => 1, :part_name => "gas pedal", :color => "black")
I can't get this to work.
How can I do this? How do I find what methods I can use for this relationship?