• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Go
      • • HTML
      • • iOS
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
      • • Swift
  • Muhammad sharifi
    Muhammad sharifi
    4,454 Points

    anyone can tell me the correct command?

    Posted May 24, 2019 2:48pm by Muhammad sharifi
    Muhammad sharifi
    4,454 Points
    • Ruby
    • Active Record Associations in Rails
    • More Association Options
    • A Migration for a Polymorphic Association

    1 Answer

  • Muhammad sharifi
    Muhammad sharifi
    4,454 Points

    We need to be able to specify that a Part model belongs to either a Car or a Truck (which we will refer to as "vehicles"

    Posted May 23, 2019 8:32pm by Muhammad sharifi
    Muhammad sharifi
    4,454 Points
    • Ruby
    • Active Record Associations in Rails
    • More Association Options
    • A Migration for a Polymorphic Association

    1 Answer

  • John Stratton
    John Stratton
    18,725 Points

    Is this challenge broken?

    Posted August 16, 2018 11:15pm by John Stratton
    John Stratton
    18,725 Points
    • Ruby
    • Active Record Associations in Rails
    • More Association Options
    • A Migration for a Polymorphic Association

    1 Answer

  • Natalie Tan
    Natalie Tan
    25,519 Points

    Poloymorphic Options in Rails

    Posted April 7, 2018 12:17pm by Natalie Tan
    Natalie Tan
    25,519 Points
    • Ruby
    • Active Record Associations in Rails
    • More Association Options
    • Polymorphic Options

    1 Answer

  • bessiebarnes
    bessiebarnes
    62,010 Points

    How do I Update the Car and Truck model classes so that each is treated as a "vehicle" which has_many Part instances?

    Posted February 19, 2018 11:26pm by bessiebarnes
    bessiebarnes
    62,010 Points
    • Ruby
    • Active Record Associations in Rails
    • More Association Options
    • Polymorphic "Has Many" Associations

    2 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Our mission is to bring affordable technology education to people everywhere in order to help them achieve their dreams and change the world.
Our Company
About Us
Contact Us
Community
Treehouse Stories
Student Perks
Treehouse Blog
Affiliate Program
Careers
Topics
HTML
CSS
Design
JavaScript
Ruby
PHP
iOS
Android
Development Tools
Business
Tracks
Web Design
Web Development
Rails Development
PHP Development
iOS Development
Android Development
Starting a Business
  • Treehouse Blog
  • About Treehouse
  • Privacy Policy
  • Terms & Conditions
  • © 2019 Treehouse Island, Inc.

Sign in

I forgot my password