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 trialTad Luedeke
12,677 PointsIssues with Rails on Mac with M1 Chip - NoMethodError in Posts#new
I'm totally stuck here. I've tried following the installation instructions and everything to the letter, but I'm on one of the MacBook Pro's with M1 chip, and nothing is working as they do in the videos. When I click "new post" I get:
NoMethodError in Posts#new Showing /Users/tluedeke/blog/app/views/posts/_form.html.erb where line #15 raised:
undefined method `deep_merge!' for {}:Concurrent::Hash Did you mean? deep_merge Extracted source (around line #15): 13 14 15 16 17 18
<div class="field"> <%= f.label :title %> <%= f.text_field :title %> </div>
Trace of template inclusion: app/views/posts/new.html.erb
Rails.root: /Users/tluedeke/blog
Application Trace | Framework Trace | Full Trace app/views/posts/form.html.erb:15:in `block in _app_views_postsform_html_erb986750044_2068' app/views/posts/_form.html.erb:1:in `_app_views_postsform_html_erb986750044_2068' app/views/posts/new.html.erb:3:in `_app_views_posts_new_html_erb__1616728586_2066' Request Parameters:
None Toggle session dump Toggle env dump Response Headers:
None
What can I do to move forward here?
jb30
44,807 Pointsjb30
44,807 PointsWhat versions of Ruby and Rails are you using?