Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Rails Routes and Resources A Route to an Index Action Populating the View

Yuichi Narisawa
Yuichi Narisawa
19,548 Points

Segmentation fault...

Whenever I run the console and typed Pages.all, it crashes with [BUG] Segmentation fault at 0x00000000000110 ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin16]

I have no idea what's going on... Can anybody give me some advice to solve this problem?

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,440 Points

I'm not sure why this segmentation fault occurs, but it would be Page.all - singular, not plural.

Yuichi Narisawa
Yuichi Narisawa
19,548 Points

It was a bug of Sierra... I updated, and it's fixed! Thank you!