• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Content Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Quynh To Tuan
    Quynh To Tuan
    8,192 Points

    How can Employee#total_hours use 'time_entries' although this table was renamed to 'account_entries'?

    Posted May 8, 2017 12:01pm by Quynh To Tuan
    Quynh To Tuan
    8,192 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    0 Answers

  • Peter Lawless
    Peter Lawless
    24,403 Points

    How does Rails know to filter on :type with this single table inheritance example?

    Posted November 28, 2016 2:52am by Peter Lawless
    Peter Lawless
    24,403 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    0 Answers

  • Robert Ellefson
    Robert Ellefson
    5,672 Points

    Error message for c.time_entries

    Posted March 1, 2016 2:27am by Robert Ellefson
    Robert Ellefson
    5,672 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • BEAU WITKA
    BEAU WITKA
    20,582 Points

    'Customer' and 'Employee' not inheriting from 'Account'

    Posted November 30, 2015 8:21pm by BEAU WITKA
    BEAU WITKA
    20,582 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • BEAU WITKA
    BEAU WITKA
    20,582 Points

    'drop table' not migrating when I run 'rake db:migrate' (6:30)

    Posted November 30, 2015 8:03pm by BEAU WITKA
    BEAU WITKA
    20,582 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • BEAU WITKA
    BEAU WITKA
    20,582 Points

    why does 't.timestamps' not include 'null :false' in video? (2:30)

    Posted November 30, 2015 7:32pm by BEAU WITKA
    BEAU WITKA
    20,582 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Michael Hall
    PLUS
    Michael Hall
    Courses Plus Student 30,909 Points

    Can someone explain why we can't add the type during the migration.

    Posted October 28, 2015 7:05pm by Michael Hall
    Michael Hall
    Courses Plus Student 30,909 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • Stewart Horsfield
    Stewart Horsfield
    13,293 Points

    **FIX** El Capitan upgrade breaks mysql / rails server

    Posted October 2, 2015 5:57am by Stewart Horsfield
    Stewart Horsfield
    13,293 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Fenian Noakes
    PLUS
    Fenian Noakes
    Courses Plus Student 5,212 Points

    NameError: uninitialized constant AccountEntry

    Posted September 18, 2015 7:14am by Fenian Noakes
    Fenian Noakes
    Courses Plus Student 5,212 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    0 Answers

  • Travis Eubanks
    Travis Eubanks
    12,566 Points

    log_time(amount, customer)? Not making sense.

    Posted June 2, 2015 6:47pm by Travis Eubanks
    Travis Eubanks
    12,566 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • John Simoneau
    PLUS
    John Simoneau
    Courses Plus Student 8,105 Points

    Forgot to add a part of RemoveOldTables :(

    Posted May 30, 2015 4:53am by John Simoneau
    John Simoneau
    Courses Plus Student 8,105 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    0 Answers

  • Binu Alexander
    Binu Alexander
    4,081 Points

    Single table inheritance ?

    Posted May 14, 2015 6:21am by Binu Alexander
    Binu Alexander
    4,081 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    4 Answers

  • Michael Baker
    Michael Baker
    5,709 Points

    Error on a.type = "Customer"

    Posted April 29, 2015 5:43pm by Michael Baker
    Michael Baker
    5,709 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    6 Answers

  • Harrison Hondo
    Harrison Hondo
    7,283 Points

    Error when typing Employee.first into console

    Posted April 1, 2015 4:27am by Harrison Hondo
    Harrison Hondo
    7,283 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Chris Vukin
    Chris Vukin
    17,787 Points

    total_time not working

    Posted February 1, 2015 4:43am by Chris Vukin
    Chris Vukin
    17,787 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • John Cunningham
    John Cunningham
    8,665 Points

    irb vs rails c

    Posted January 28, 2015 6:24pm by John Cunningham
    John Cunningham
    8,665 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • Sebastian Velandia
    Sebastian Velandia
    24,676 Points

    How to add different fields beetween Employees and customers?

    Posted December 12, 2014 2:52am by Sebastian Velandia
    Sebastian Velandia
    24,676 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points

    How is Hampton Catlin so freaking awesome?

    Posted December 11, 2014 7:06pm by Adam Zuckerberg
    Adam Zuckerberg
    22,248 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • Nikola Novakovic
    Nikola Novakovic
    4,171 Points

    Can not find rename table method

    Posted November 18, 2014 10:06pm by Nikola Novakovic
    Nikola Novakovic
    4,171 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Peaches Stubbs
    Peaches Stubbs
    21,320 Points

    Accessing a project, that I have already started.

    Posted September 12, 2014 3:05pm by Peaches Stubbs
    Peaches Stubbs
    21,320 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

  • David Gross
    David Gross
    19,443 Points

    ActiveRecord Basics - TimeEntry model relationship

    Posted July 22, 2014 9:53am by David Gross
    David Gross
    19,443 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    1 Answer

  • Wesley Wright
    Wesley Wright
    26,793 Points

    So... I think I missed a step, messed something up, or something...

    Posted July 1, 2014 1:59am by Wesley Wright
    Wesley Wright
    26,793 Points
    • Ruby
    • ActiveRecord Basics
    • Migrations and Relationships
    • Single Table Inheritance

    2 Answers

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

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.