-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `downcase' for nil:NilClass (NoMethodError) #263
Comments
from # /home/dave/my_blog/assets/images/somefolder/myimage.jpg
# ^^^
def ext
@ext ||= File.extname(name)[1..].downcase
end
`` |
Hm. Are you sure it's getting passed a filename? What exactly is in the I thought JPT would fail more gracefully than this, it's probably worth adding a check for that. |
the loop...
Output
|
Hi, I am using the tag with {% picture "{{ page.featured_image }}" %} which in the blog post is: And I have the following error undefined method `delete_prefix' for nil:NilClass Could this be linked ? |
Error
Tag
{% picture blog-feature {{page.featured_image}} --alt {{page.excerpt}} %}
HTML Syntax Test
Output
<figure><figcaption>"prestashop-tag.jpg"</figcaption></figure>
Gem info
FS Info
(ruby:2.6)[denverpr@pluto _fullsize]$ pwd /home/denverpr/new/assets/images/_fullsize(ruby:2.6)[denverpr@pluto _fullsize]$ ll prestashop-tag.jpg -rw-r--r-- 1 denverpr denverpr 65905 Sep 18 10:16 prestashop-tag.jpg
The text was updated successfully, but these errors were encountered: