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

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

New No-Code Track! 🚀start learning today!

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

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

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

  • 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
    • 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
  • 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
    • Showing results for:
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays
    • Close
  • Ervis Lapi
    Ervis Lapi
    171 Points

    block not working

    Posted on Apr 21, 2021 by Ervis Lapi
    Ervis Lapi
    171 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • Alton Michaux
    Alton Michaux
    11,053 Points

    "The 'house' variable did not contain the correct elements"? Not sure what I'm doing wrong here

    Posted on Apr 12, 2021 by Alton Michaux
    Alton Michaux
    11,053 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • Fabian Pijpers
    PLUS
    Fabian Pijpers
    Courses Plus Student 41,372 Points

    I HAVE NO IDEA HOW TO GET SOMETHING CHAR GREATER THAN CHAR.LENGTH > 4

    Posted on Sep 27, 2020 by Fabian Pijpers
    Fabian Pijpers
    Courses Plus Student 41,372 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    3 Answers

  • Killeon Patterson
    Killeon Patterson
    18,528 Points

    What is the syntax? Am I suppose to look inside the array

    Posted on Aug 11, 2016 by Killeon Patterson
    Killeon Patterson
    18,528 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • MacKenzie T. Stout
    MacKenzie T. Stout
    23,972 Points

    Block Method Practice: How do I add items to a new array?

    Posted on Mar 29, 2016 by MacKenzie T. Stout
    MacKenzie T. Stout
    23,972 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • François Noël
    François Noël
    3,587 Points

    How can I use the value that the select return? I don't understand how to finish that challenge.

    Posted on Feb 9, 2016 by François Noël
    François Noël
    3,587 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    3 Answers

  • Mustafa Dülgar
    Mustafa Dülgar
    1,444 Points

    Using the select method, create a new array named house that contains any items from the array variable with a length gr

    Posted on Nov 17, 2015 by Mustafa Dülgar
    Mustafa Dülgar
    1,444 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    2 Answers

  • Nyra Dream
    PLUS
    Nyra Dream
    Courses Plus Student 4,409 Points

    How do I use the .select method to move an item into another array?

    Posted on Aug 26, 2015 by Nyra Dream
    Nyra Dream
    Courses Plus Student 4,409 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • Henry Miller
    Henry Miller
    7,945 Points

    This is so frustrating. I feel like the instructions are not clear enough...

    Posted on Jul 24, 2015 by Henry Miller
    Henry Miller
    7,945 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    2 Answers

  • Sara Brothers
    Sara Brothers
    7,341 Points

    Ruby Blocks

    Posted on Jun 15, 2015 by Sara Brothers
    Sara Brothers
    7,341 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    1 Answer

  • San Francisco
    San Francisco
    28,373 Points

    halp

    Posted on Apr 25, 2015 by San Francisco
    San Francisco
    28,373 Points
    • Ruby
    • Ruby Blocks
    • Working With Blocks
    • Block Method Practice: Arrays

    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

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