Flickr feeds should create Post objects with working permalinks
Reported by EdwardOG | December 14th, 2008 @ 07:37 PM
After adding a Flickr feed, I noticed that my pages displaying posts from that feed were crashing because the permalink being fed to image_tag in the view was nil.
It turns out that it’s nil because Nokogiri (1.0.7) wasn’t returning anything, so I’ve fixed it as seen here: http://github.com/edward/aintabl...
It might be a good idea to have a validate_presence_of :permalink on Picture and fail gracefully and report the failure.
Comments and changes to this ticket
-
EdwardOG December 14th, 2008 @ 07:38 PM
- Assigned user set to Pat Nakajima
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open source tumblog in Ruby on Rails.
<a href="http://aintablog.com">aintablog.com</a>