Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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

  • 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord