NoMethodError - undefined method `<column>_url'
lunaisnotaboy opened this issue · comments
Brief Description
Whenever I try to call <column>_url
or other related methods, I get a NoMethodError.
This has happened across three different applications on two seperate machines, so I am convinced that it is nothing on my end.
Expected behavior
I expected the functions to actually be there when I call them.
Actual behavior
I receive a NoMethodError.
Code Snippets
See this gist for all required files.
System configuration
Ruby version: 2.7.4
Shrine version: 3.4.0
Hi @lunaisnotaboy,
I was unable to reproduce your issue, given your template.
Here is my script file:
- https://github.com/benkoshy/debugging-shrine-example/blob/no-method-error-topic/active_record_template.rb
- and the installation files if you want to explore: https://github.com/benkoshy/debugging-shrine-example/tree/no-method-error-topic - please be sure to use the correct branch.
Perhaps I've made a mistake somewhere? IF you could amend it so it could reproduce the NoMethodError
error , that would be inordinately helpful in discovering the root cause. Without the reproduction, how would i be able to discover the problem?
rgds
Ben