I just got to the part where I’m creating the timeline class and i’m trying to implement ActiveModel Naming, but it’s not working. I get the same “to_partial_path” error. When I create the “to_partial_path” method and specify a partial, it works as expected and I’m able to continue with the workshop.
I’m going to continue using the to_partial_path method, but I’d really like to get the ActiveModel naming thing working.
Here’s my code:
@user = user
I saw another thread in here where they had to use ActiveModel::Conversion, but that didn’t work for me either.
The only thing that worked for me involves removing the ActiveModel::Naming extension and using this instead.