🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀 New videos dropping every week—start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Community Projects
    • Live Sessions
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Community Projects Live Sessions Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Rojina Pradhan
    Rojina Pradhan
    2,681 Points

    Unknown error

    Posted December 13, 2023 7:26am by Rojina Pradhan
    Rojina Pradhan
    2,681 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Strong Parameters

    0 Answers

  • Blair Walker
    Blair Walker
    12,672 Points

    I don't see that in my application

    Posted September 21, 2023 2:37pm by Blair Walker
    Blair Walker
    12,672 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    0 Answers

  • Miguel Jimenez
    Miguel Jimenez
    3,291 Points

    Ruby on Rails 5 Basics

    Posted April 20, 2020 9:14pm by Miguel Jimenez
    Miguel Jimenez
    3,291 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating the Model

    0 Answers

  • Thomas Miller
    Thomas Miller
    6,039 Points

    I'm getting the NoMethodError in Posts#index message as well.

    Posted September 21, 2018 8:09pm by Thomas Miller
    Thomas Miller
    6,039 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    1 Answer

  • Robert Fernandez
    Robert Fernandez
    3,524 Points

    Body sections not showing

    Posted May 15, 2018 8:18pm by Robert Fernandez
    Robert Fernandez
    3,524 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    1 Answer

  • Moses Ong
    Moses Ong
    889 Points

    How do I define Start to be falsey overtime?

    Posted April 29, 2018 6:33pm by Moses Ong
    Moses Ong
    889 Points
    • Python
    • Python Basics (2015)
    • Letter Game App
    • Even or Odd Loop

    2 Answers

  • Stephan Hoeksema
    Stephan Hoeksema
    16,567 Points

    getter value

    Posted April 29, 2018 6:25pm by Stephan Hoeksema
    Stephan Hoeksema
    16,567 Points
    • JavaScript
    • Object-Oriented JavaScript
    • Getters and Setters
    • Creating Getter Methods

    1 Answer

  • MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points

    My post ID isn't updating

    Posted April 3, 2018 10:36pm by MaryAnn Eleanya
    MaryAnn Eleanya
    8,626 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Wrap Up

    2 Answers

  • rygelzwruy
    rygelzwruy
    7,931 Points

    NoMethodError in Posts#index

    Posted February 13, 2018 3:38pm by rygelzwruy
    rygelzwruy
    7,931 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    1 Answer

  • rygelzwruy
    rygelzwruy
    7,931 Points

    NoMethodError in Posts#index

    Posted February 11, 2018 5:42pm by rygelzwruy
    rygelzwruy
    7,931 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    1 Answer

  • brian biggers
    brian biggers
    8,556 Points

    The erb is different in my _form.html.erb file. Does id: :post_title need to change to id: :post_body?

    Posted December 20, 2017 1:40am by brian biggers
    brian biggers
    8,556 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Partials

    1 Answer

  • Vincenzo Pace
    Vincenzo Pace
    2,886 Points

    Why can Pet's constructor receive a function in the create method?

    Posted October 19, 2017 7:25am by Vincenzo Pace
    Vincenzo Pace
    2,886 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Strong Parameters

    1 Answer

  • David Greenstein
    David Greenstein
    6,734 Points

    How does :body link back to the text stored in the body?

    Posted October 12, 2017 3:42am by David Greenstein
    David Greenstein
    6,734 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Partials

    1 Answer

  • Karrtik Iyer
    Karrtik Iyer
    3,738 Points

    Does name of the migration need to follow a convention?

    Posted July 23, 2017 4:50pm by Karrtik Iyer
    Karrtik Iyer
    3,738 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating the Model

    1 Answer

  • Derek Lin
    Derek Lin
    1,563 Points

    the syntax of the strong parameters

    Posted March 9, 2017 9:22pm by Derek Lin
    Derek Lin
    1,563 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Strong Parameters

    1 Answer

  • PoJung Chen
    PoJung Chen
    5,856 Points

    I am wondering where can I find these further courses ?

    Posted February 17, 2017 3:59pm by PoJung Chen
    PoJung Chen
    5,856 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Wrap Up

    2 Answers

  • Daniel Sokol
    Daniel Sokol
    14,888 Points

    bin/rake db:migrate error....

    Posted September 17, 2016 1:07am by Daniel Sokol
    Daniel Sokol
    14,888 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating the Model

    5 Answers

  • Joy Anne
    Joy Anne
    234 Points

    Ruby on Rails 5 Basics Updating Views, localhost:3000/posts/ no longer available

    Posted August 27, 2016 10:18pm by Joy Anne
    Joy Anne
    234 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating Views

    0 Answers

  • Ignacio San Martin
    Ignacio San Martin
    421 Points

    NameError: undefined local variable or method `post' for main:Object

    Posted August 27, 2016 4:01pm by Ignacio San Martin
    Ignacio San Martin
    421 Points
    • Ruby
    • Ruby on Rails 5 Basics
    • Adding a Model Attribute
    • Updating the Model

    1 Answer

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

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.