Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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,441 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!