“I’m getting such an error: #<NoMethodError: private method `’ called for nil>
I’m new to Ruby on Rails and I couldn’t understand the reason. Can you help me? I’m new to Ruby on Rails and I couldn’t understand the reason. What does ‘<=>’ mean in Ruby on Rails? The problem is: I’m setting up a component structure using phlex in Rails dynamically. My product is full when initialized with prod_col, but when I do div(class: @comp.props[‘_class’]) { @product.send(@comp.props['source']) }, I get an error."